From: | Rich Shepard <rshepard(at)appl-ecosys(dot)com> |
---|---|
To: | "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Selecting table row with latest date [RESOLVED] |
Date: | 2021-08-19 22:07:37 |
Message-ID: | alpine.LNX.2.20.2108191503280.15165@salmo.appl-ecosys.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, 19 Aug 2021, David G. Johnston wrote:
> Well, in this case I suspect you had made a different mistake which caused
> the error message (probably the max(c.next_contact)) but instead of
> solving the original problem (removing the max(...)) you decided that two
> wrongs (adding or extending a group by) would hopefully make a right
> (which it did, technically). But while the query works it is definitely
> not conceptually correct.
David,
I'm not at all surprised as I use postgres infrenquently. Once I have
queries producing results I need for my business tracking or client data I
just use them. I'm neither a professional DBA nor database developer and use
a variety of technical applications dependent on project needs.
And I'm quite used to being chastised by those who work primarily with a
single application all day every day and I accept that I'm not an expert.
Regards,
Rich
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2021-08-19 22:30:24 | Re: Selecting table row with latest date [RESOLVED] |
Previous Message | David G. Johnston | 2021-08-19 21:59:34 | Re: Selecting table row with latest date [RESOLVED] |