結果 : sql server join table with case statement