Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you all for the replies!

On Wed, Mar 9, 2011 at 7:01 PM, David Johnston <polobo@xxxxxxxxx> 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)
>

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux