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 AANLkTimi-7v-PqA7cMSL08p8-WxxAahXwXGhd=Yzg0bG@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Copying data from one table to another - how to specify fields?  (Alexander Farber <alexander.farber@gmail.com>)
Список pgsql-general
Oh ok, found it:

# select one.username, one.user_id, two.user_id from phpbb_users one,
phpbb_users two where two.username=one.username and two.user_id <>
one.user_id;
 username | user_id | user_id
----------+---------+---------
 Вячеслав |    7564 |     421
 Вячеслав |     421 |    7564
(2 rows)

Sorry!

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

Предыдущее
От: Alexander Farber
Дата:
Сообщение: Re: Copying data from one table to another - how to specify fields?
Следующее
От: "David Johnston"
Дата:
Сообщение: Re: Copying data from one table to another - how to specify fields?