Re: Copying data from one table to another - how to specify fields?

Поиск
Список
Период
Сортировка
От Alexander Farber
Тема Re: Copying data from one table to another - how to specify fields?
Дата
Msg-id AANLkTinSwR10469VM20M1asWpYEENy9XKOwxqnYPAwBp@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Copying data from one table to another - how to specify fields?  ("David Johnston" <polobo@yahoo.com>)
Список pgsql-general
Thank you all for the replies!

On Wed, Mar 9, 2011 at 7:01 PM, David Johnston <polobo@yahoo.com> wrote:
> SELECT username, count(username) FROM phpbb_users
> GROUP BY username
> HAVING count(username) > 1;
>
> If anything shows up then (phpbb_users .username) is not a unique field but
> you are trying to insert it into one that is (drupal_users.uid)
>

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

Предыдущее
От: Vibhor Kumar
Дата:
Сообщение: Re: Enable/Disable Triggers
Следующее
От: Vibhor Kumar
Дата:
Сообщение: Re: A join of 2 tables with sum(column) > 30