結果 : postgresql select max value in group