Re: Selecting table row with latest date

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Selecting table row with latest date
Date: 2021-08-19 14:41:06
Message-ID: alpine.LNX.2.20.2108190740080.15165@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 19 Aug 2021, Rich Shepard wrote:

> Please point me to the proper place in the docs where I can learn how to do
> this.

If I use DISTINCT ON would this produce the most recent date for each
person_nbr?

Rich

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2021-08-19 14:41:22 Re: Selecting table row with latest date
Previous Message David G. Johnston 2021-08-19 14:40:19 Re: Selecting table row with latest date