結果 : join table with function in sql server