結果 : postgres select substring before character