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 > Pgsql Novice > Re: Need help w...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 4 Topic 3101 of 3323
Post > Topic >>

Re: Need help with INNER Join

by nobs@[EMAIL PROTECTED] (Emil Obermayr) May 4, 2008 at 04:52 PM

Am Sonntag, 4. Mai 2008 schrieb Mag Gam:

> To my understanding, it is preferred to use the INNER JOIN keyword. I am
> able to INNER JOIN 2 tables, but I am not sure of the syntax for 3 or
more
> tables. Can someone please show me an example for that ?

Just concatenate the joins, modern servers do not need hints by brackets
and 
such:

select * from a join b on a.id=b.aid join c on b.id=c.bid ;

In that respect, also take a look on "join using" and "natural join".

-- 
Sent via pgsql-novice mailing list (pgsql-novice@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice
 




 4 Posts in Topic:
Need help with INNER Join
magawake@[EMAIL PROTECTED  2008-05-04 10:40:05 
Re: Need help with INNER Join
fbax@[EMAIL PROTECTED] (  2008-05-04 10:52:38 
Re: Need help with INNER Join
nobs@[EMAIL PROTECTED] (  2008-05-04 16:52:13 
Re: Need help with INNER Join
magawake@[EMAIL PROTECTED  2008-05-04 20:12:31 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Fri Dec 5 6:03:45 CST 2008.