結果 : sql function to get part of string