結果 : substring until specific character sql