RSS

Type of SQL Joins

05 Mar

These are type of SQL Joins:

Inner Join (Join): return rows when there is at least one match in both tables.

Left Join: return all rows from the left table, even if there are no matches in the right table.

Right Join: return all rows from the right table, even if there are no matches in the left table.

Full Join: return rows when there is a match in one of the tables.

Cross Join: returns the Cartesian product of rows from tables in the join.

Source: W3Schools, Wikipedia

Advertisements
 
Leave a comment

Posted by on March 5, 2012 in General

 

Tags: ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

 
%d bloggers like this: