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 AANLkTinSwR10469VM20M1asWpYEENy9XKOwxqnYPAwBp@mail.gmail.com
Whole thread Raw
In response to Re: Copying data from one table to another - how to specify fields?  ("David Johnston" <polobo@yahoo.com>)
List 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 by date:

Previous
From: Vibhor Kumar
Date:
Subject: Re: Enable/Disable Triggers
Next
From: Vibhor Kumar
Date:
Subject: Re: A join of 2 tables with sum(column) > 30