Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Oracle Server > Best way to use...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 9 Topic 16652 of 17418
Post > Topic >>

Best way to use INNER JOIN?

by "harry" <a@[EMAIL PROTECTED] > Jun 1, 2008 at 05:58 PM

Using Oracle 10g

I've always used this form of inner joins -

  1.  select BOOKSHELF.Title from BOOKSHELF, BOOK_ORDER where 
BOOKSHELF.Title = BOOK_ORDER.Title;

A colleague tells me that I should be using this form (but can't tell me 
why?) -

  2.  select Title from BOOKSHELF inner join BOOK_ORDER using (Title);

There is another way I've seen (but don't like) -

  3.  select Title from BOOKSHELF natural inner join BOOK_ORDER;

So, is there any difference between methods 1 and 2? if not is it safe to 
continue using method 1 then?

thanks in advance

harry
 




 9 Posts in Topic:
Best way to use INNER JOIN?
"harry" <a@[  2008-06-01 17:58:38 
Re: Best way to use INNER JOIN?
Mladen Gogala <mgogala  2008-06-01 19:19:02 
Re: Best way to use INNER JOIN?
Gints Plivna <gints.pl  2008-06-01 14:34:11 
Re: Best way to use INNER JOIN?
Mark D Powell <Mark.Po  2008-06-01 17:24:57 
Re: Best way to use INNER JOIN?
BicycleRepairman <enge  2008-06-01 20:20:07 
Re: Best way to use INNER JOIN?
radino <rgolian@[EMAIL  2008-06-03 01:03:48 
Re: Best way to use INNER JOIN?
radino <rgolian@[EMAIL  2008-06-03 01:04:26 
Re: Best way to use INNER JOIN?
Mark D Powell <Mark.Po  2008-06-03 10:20:20 
Re: Best way to use INNER JOIN?
BicycleRepairman <enge  2008-06-03 19:32:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 15:15:31 CST 2008.