結果 : sql two aggregate functions