Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f55JNsE58337 for ; Tue, 5 Jun 2001 15:23:54 -0400 (EDT) (envelope-from pgsql-sql-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4U7SBE18229 for ; Wed, 30 May 2001 03:28:14 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.1/8.11.1) id f4U7Nqc48438 for pgsql-sql@postgresql.org; Wed, 30 May 2001 03:23:52 -0400 (EDT) (envelope-from news) From: "Muhammed Yazici" X-Newsgroups: comp.databases.postgresql.sql Subject: query on two databases .. Date: Wed, 30 May 2001 09:23:56 +0200 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 25 Message-ID: <9f2765$1f9j$1@news.tht.net> X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 To: pgsql-sql@postgresql.org X-Archive-Number: 200106/44 X-Sequence-Number: 3253 hi, i'am really new to postgresql and i try it with php .. Now i have following question : is it possible to make one query on two databases. I have a database calles db1 and one db2 and i want to get : select * from ":db1:table1" where ":db1:table1:col1" in (select "col1" from ":db2:table1" ); (this query will work in interbase dbs) how is the right syntax in postgresql ?? can anybody help my .. i looked in diffent manuals but i couldnt find the syntax .. thanks a lot for your help in forward .. m. Yazici yazici@chss.net