Search Postgresql Archives
Assistance with SQL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: <pgsql-general@xxxxxxxxxxxxxx>
- Subject: Assistance with SQL
- From: Aaron Burnett <aburnett@xxxxxxxxxxxx>
- Date: Sun, 31 Aug 2008 23:31:32 -0400
- Thread-index: AckL4zpHD+8T3zjwNUK6MEA7vjiB5g==
- Thread-topic: Assistance with SQL
- User-agent: Microsoft-Entourage/12.10.0.080409
Title: Assistance with SQL
Hi,
I’m hoping someone can help me out on this one.
Two tables
table1 has 25 columns
table2 is a subset of table1 (create table2 as select id,field1,field2,field3,field4,field5,field6 from table1) with just 7 columns
There is a primary key on ID
table2 was exported to a CSV, truncated, then the “cleaned” CSV was re-imported to table2
In a nutshell I need to find the difference between the 6 columns in table2 vs table1 and update table1, again, with the ID column being the pk.
Thanks in advance for any help here.
[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]