Join

Moderator: NorbertKrupa

Post Reply
Jess.mic
Newbie
Newbie
Posts: 15
Joined: Tue Jun 11, 2013 11:02 pm

Join

Post by Jess.mic » Thu Jul 11, 2013 5:10 am

If in a query it is only mentioned as join , is it a inner join or a outer join . For eg.

SELECT C*

FROM (schema.customer C JOIN schema.address A ON ((A.CUSTOMER_ID = C.CUSTOMER_ID)))


So is it a inner join or the outer join???

User avatar
nnani
Master
Master
Posts: 302
Joined: Fri Apr 13, 2012 6:28 am
Contact:

Re: Join

Post by nnani » Thu Jul 11, 2013 6:57 am

Hello Jess,

The query given by you

Code: Select all

SELECT C* 
FROM (schema.customer C JOIN schema.address A ON ((A.CUSTOMER_ID = C.CUSTOMER_ID)))
This query is representing a inner join.
Even if you omit the word [INNER] and just mention join, Vertica assumes it to be an inner join.

Hope this solved your confusion :)
nnani........
Long way to go

You can check out my blogs at vertica-howto

Post Reply

Return to “Vertica SQL”