Re: How to copy data between joined columns?

From: Bryce Nesbitt <bryce1(at)obviously(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: How to copy data between joined columns?
Date: 2006-04-07 21:36:01
Message-ID: 4436DB41.2070303@obviously.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Scott Marlowe wrote:
> If it's for the same rows in the same table, you're overworking it.
>
> update table set field1=field2 where somecondition;
>
If it were for the same rows in the same table, I would not have asked.
This is for columns from two tables, whos relationship is only
meaningful after a join.
-Bryce

--
----
Visit <a href="http://www.obviously.com/recycle/">www.obviously.com</a>

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2006-04-07 21:54:06 Re: How to copy data between joined columns?
Previous Message Jeff Boes 2006-04-07 21:01:55 Joins involving functions