Re: Subquery to select max(date) value

From: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
To: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Subquery to select max(date) value
Date: 2019-02-13 00:44:47
Message-ID: 87va1oplgl.fsf@news-spur.riddles.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>>>>> "Rich" == Rich Shepard <rshepard(at)appl-ecosys(dot)com> writes:

Rich> Will probably try DISTINCT ON, too, if that makes it simpler or
Rich> faster.

You want LATERAL.

--
Andrew (irc:RhodiumToad)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Niels Jespersen 2019-02-13 08:32:26 SV: SV: Implementing pgaudit extension on Microsoft Windows
Previous Message Rich Shepard 2019-02-12 23:48:38 Re: Subquery to select max(date) value