Re: Copying data from one table to another - how to specify fields? - Mailing list pgsql-general

From Alexander Farber
Subject Re: Copying data from one table to another - how to specify fields?
Date
Msg-id AANLkTimi-7v-PqA7cMSL08p8-WxxAahXwXGhd=Yzg0bG@mail.gmail.com
Whole thread Raw
In response to Re: Copying data from one table to another - how to specify fields?  (Alexander Farber <alexander.farber@gmail.com>)
List 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 by date:

Previous
From: Alexander Farber
Date:
Subject: Re: Copying data from one table to another - how to specify fields?
Next
From: "David Johnston"
Date:
Subject: Re: Copying data from one table to another - how to specify fields?