On Thu, 4 Dec 2025, Ron Johnson wrote:
May not be the only way, but it's how I do it: SELECT * FROM foo WHERE some_dt = (SELECT MAX(some_dt) FROM foo);It might return more than one row...
Ron, Didn't quite work for me this way: select p.person_nbr, p.company_nbr, c.next_contact from people as p, contacts as c where c.next_contact (select max(c.next_contact) from c.contacts) >= '2025-11-01' group by p.person_nbr, p.company_nbr order by p.person_nbr, p.company_nbr; Thanks, Rich
