pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jo <joacn@yahoo.co.uk>
To: pgsql-sql@postgresql.org
Subject: How to write this query!
Date: Sun, 13 Jul 2003 17:32:22 +0100 (BST)
Message-ID: <20030713163222.88233.qmail@web10305.mail.yahoo.com> (raw)

These are my PostgreSQL tables: 

pid | name 
 1  |  A 
 2  |  B 
 3  |  C 
 4  |  D 
 5  |  E 

tid | pid 1 | pid 2 | pid 3 
1   |  1    |  2    |  3 

Bascially, I would like to write a query to list only
the names which their "pid" match those pids in the
other table. If anyone knows, pls help!! 

Many Thanks!! 

Joe



________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/



view thread (2+ messages)  latest in thread

Message-ID: <20030713163222.88233.qmail@web10305.mail.yahoo.com>
Permalink:  ../20030713163222.88233.qmail@web10305.mail.yahoo.com/
Also on:    postgresql.org/message-id/20030713163222.88233.qmail@web10305.mail.yahoo.com

 · 

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: joacn@yahoo.co.uk
  Subject: Re: How to write this query!
  In-Reply-To: <20030713163222.88233.qmail@web10305.mail.yahoo.com>

* 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