How to write this query!

Поиск
Список
Период
Сортировка
От Jo
Тема How to write this query!
Дата
Msg-id 20030713163222.88233.qmail@web10305.mail.yahoo.com
обсуждение исходный текст
Ответы Re: How to write this query!  (Richard Huxton <richardh@archonet.com>)
Список pgsql-sql
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/


В списке pgsql-sql по дате отправления:

Предыдущее
От: Scott Cain
Дата:
Сообщение: Cannot insert dup id in pk
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Problem with temporary table -- Urgent