From: Justin Long <justinlong@strategicnetwork.org>
To: 'pgsql-sql@postgresql.org' <pgsql-sql@postgresql.org>
Subject: SQL syntax for updating tables
Date: Fri, 7 Apr 2000 15:46:04 -0400
Message-ID: <01BFA0A8.629AB840.justinlong@strategicnetwork.org> (raw)
I'm trying to figure this out and I'm stumped. Perhaps someone else has
done it.
I have two tables:
SIGMEMBER
and
MEMBER
The MEMBER table has a USERID field and an EMAIL field. SIGMEMBER has the
same two fields. I am trying to update SIGMEMBER from MEMBER such that when
member.userid = sigmember.userid, it replaces sigmember.email with
member.email.
Any suggestions?
_____
Justin Long
Network for Strategic Missions
1732 South Park Court, Chesapeake, VA 23320
Ofc 757-420-4500, Fax 757-226-5006, Email justinlong@strategicnetwork.org
Never retreat. Never surrender. Never cut a deal with a dragon.
http://www.strategicnetwork.org
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: justinlong@strategicnetwork.org
Subject: Re: SQL syntax for updating tables
In-Reply-To: <01BFA0A8.629AB840.justinlong@strategicnetwork.org>
References: <01BFA0A8.629AB840.justinlong@strategicnetwork.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