結果 : sql query to get right part of string