結果 : sql having clause with aggregate function