pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-sql@postgresql.org
Subject: Re: Update query by joining multiple tables.
Date: Wed, 17 Jan 2007 07:55:11 -0500
Message-ID: <20070117125511.GC19527@phlogiston.dyndns.org> (raw)
In-Reply-To: <82e1a9bd0701170320j14d4ebdagd66d8c9f095b0192@mail.gmail.com>
References: <82e1a9bd0701170320j14d4ebdagd66d8c9f095b0192@mail.gmail.com>

On Wed, Jan 17, 2007 at 04:50:18PM +0530, Moiz Kothari wrote:
> http://www.postgresql.org/docs/8.1/interactive/sql-update.html, it is not
> specified if a join can be done between multiple tables to update a table, i

Sure it is:

A list of table expressions, allowing columns from other tables to
appear in the WHERE condition and the update expressions.

a

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
Users never remark, "Wow, this software may be buggy and hard 
to use, but at least there is a lot of code underneath."
		--Damien Katz



view thread (3+ messages)  latest in thread

Message-ID: <20070117125511.GC19527@phlogiston.dyndns.org>
Permalink:  ../20070117125511.GC19527@phlogiston.dyndns.org/
Also on:    postgresql.org/message-id/20070117125511.GC19527@phlogiston.dyndns.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ajs@crankycanuck.ca
  Subject: Re: Update query by joining multiple tables.
  In-Reply-To: <20070117125511.GC19527@phlogiston.dyndns.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox