結果 : sql select distinct and join