結果 : sql using aggregate functions in where clause