Re: Selecting table row with latest date

Поиск
Список
Период
Сортировка
От Rich Shepard
Тема Re: Selecting table row with latest date
Дата
Msg-id alpine.LNX.2.20.2108191017320.15165@salmo.appl-ecosys.com
обсуждение исходный текст
Ответ на Re: Selecting table row with latest date  (Rob Sargent <robjsargent@gmail.com>)
Ответы Re: Selecting table row with latest date  (Rob Sargent <robjsargent@gmail.com>)
Список pgsql-general
On Thu, 19 Aug 2021, Rob Sargent wrote:

> sorry, wasn’t clear: person_nbr, next_contact
> On the premise that there can only be one next date.

Rob,

I wasn't sufficiently clear. The contacts table has a row for each
(person_nbr, contact_date). For each row there's also either a next_contact
date or that column is null (e.g., pandemic-related no longer at that
company).

Regards,

Rich



В списке pgsql-general по дате отправления:

Предыдущее
От: Rich Shepard
Дата:
Сообщение: Re: Selecting table row with latest date
Следующее
От: Rob Sargent
Дата:
Сообщение: Re: Selecting table row with latest date