harsh <[EMAIL PROTECTED]> wrote:
> 
> Two databases 
> data1
> data2
> 
> data1 has table1 and data2 has table2
> 
> both the tables have uid field common
> 
> I want to list out common uid's from table1 annd table2
> 
> Tried many commands as i understood from documentations
> but somewhere i m always wrong.

Something like:
        SELECT data1.table1.uid FROM data1.table1, data2.table2 WHERE 
data1.table1.uid=data2.table2.uid;


-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com





-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to