MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:Victoria Reznichenko Date:July 2 2002 2:22pm
Subject:Re: Left outer join
View as plain text  
Arul,
Monday, July 01, 2002, 3:58:48 PM, you wrote:

A> Can i use left outer join in MySQL.
A> Like i have one condition in Oracle
A> ex:

A> select * from user,company where u.companyid = c.companyid (+)


A> can i rephrase the query in mysql like this

A> select * from user left outer join company c using (companyid)

In MySQL LEFT OUTER JOIN is a synonym for LEFT JOIN. Syntax for LEFT
OUTER JOIN exists for compatibility with ODBC.




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



Thread
Left outer joinArul1 Jul
  • Re: Left outer joinVictoria Reznichenko2 Jul