結果 : sql where on aggregate column