結果 : sql join with aggregate function