結果 : sql where clause on aggregate column