結果 : sql get string before a character