Re: Extract only maximum date from column - Mailing list pgsql-general

From Rich Shepard
Subject Re: Extract only maximum date from column
Date
Msg-id 47e11d37-37b-8341-a0c2-45f1b1b7ca9a@appl-ecosys.com
Whole thread Raw
In response to Re: Extract only maximum date from column  (Bryan Sayer <blslists@gmail.com>)
Responses Re: Extract only maximum date from column
List pgsql-general
On Thu, 4 Dec 2025, Bryan Sayer wrote:

> I believe in general you need
>
> having c.next_contact = max(c.next_contact)
>
> (at least in ANSI SQL) Use having for after the join has occurred

Bryan,

Postgresql didn't like that regardless of where I inserted the `having'
stanza.

Thanks,

Rich



pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Extract only maximum date from column
Next
From: Rich Shepard
Date:
Subject: Re: Extract only maximum date from column