結果 : extract string before character sql