X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 6C2AFD1B57A for ; Thu, 30 Oct 2003 12:46:11 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 48356-03 for ; Thu, 30 Oct 2003 08:45:43 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id D9EA1D1B54C for ; Thu, 30 Oct 2003 08:45:39 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id h9UCjdNu035216 for ; Thu, 30 Oct 2003 12:45:39 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id h9UCcCRb034020 for pgsql-sql@postgresql.org; Thu, 30 Oct 2003 12:38:12 GMT From: "Freshman" X-Newsgroups: comp.databases.postgresql.sql Subject: Please help me to slove this SQL statements Date: Thu, 30 Oct 2003 20:38:14 +0800 Organization: Hub.Org Networking Services Lines: 9 Message-ID: X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 To: pgsql-sql@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/17 X-Sequence-Number: 15832 There are three table in database which is suppliers, projects, and shipments suppliers contain suppliers id, name ...etc projects contain project name ..suppliers ID ( J1---J7) ...etc shipments table contain suppliers ID , PROJECTS ID how can i query to find out the suppliers to supply all the projects ID