結果 : postgres select having max date