結果 : how to create sql function with parameters