pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Douglas Rafael da Silva <douglas@inducola.com.br>
To: pgsql-sql@postgresql.org
Subject: Diferent databases on same query...
Date: Thu, 18 Oct 2001 23:45:00 -0200
Message-ID: <3BCF859C.D42C8895@inducola.com.br> (raw)

Hi,

I'd like to do a query where can be possible I access tables from
diferent databases on the same query.
On MySQL, I do:

SELECT People1.PersID, People1.Name, Result1.Value, Result1.Date FROM
Database1.People1, Database2.Result1 WHERE ...

I think on ORACLE works like as:

SELECT People1.PersID, People1.Name, Result1.Value, Result1.Date FROM
People1@Database1, Result1@Database2 WHERE ...

But Who I can to do this on Postgresql ?

Thank you.

Douglas Rafael.



view thread (9+ messages)  latest in thread

Message-ID: <3BCF859C.D42C8895@inducola.com.br>
Permalink:  ../3BCF859C.D42C8895@inducola.com.br/
Also on:    postgresql.org/message-id/3BCF859C.D42C8895@inducola.com.br

 · 

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: douglas@inducola.com.br
  Subject: Re: Diferent databases on same query...
  In-Reply-To: <3BCF859C.D42C8895@inducola.com.br>

* 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