Re: Unique Primary Key Linked to Multiple Accounts

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Unique Primary Key Linked to Multiple Accounts
Дата
Msg-id CAKFQuwZWNG9xavLTb_sJCLO3FUiV+w3Dgbk8cabd2GxWMFbPVQ@mail.gmail.com
обсуждение исходный текст
Ответ на Unique Primary Key Linked to Multiple Accounts  (Anthony Apollis <anthony.apollis@gmail.com>)
Список pgsql-general
On Monday, November 13, 2023, Anthony Apollis <anthony.apollis@gmail.com> wrote:

Please advice.


The subset of data you’ve chosen to show does not allow one to draw any conclusions.  Look for the things that are different in the joined result - the things that are identical are mostly uninteresting when trying to figure out what additional join conditions are needed so that only a single matching row is found.

Your other table doesn’t have a primary key defined.  If you do that the answer will likely present itself to you.

David J.

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

Предыдущее
От: Anthony Apollis
Дата:
Сообщение: Unique Primary Key Linked to Multiple Accounts
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: Properly handle OOM death?