結果 : sql how to use aggregate function in where clause