結果 : sql substring before first occurrence of character