結果 : create sql function with input parameters