結果 : how to execute scalar function in sql