Posts tagged: RIGHT JOIN

Quick and short: T-SQL Joins

By Ashish Khandelwal, December 17, 2009

This article is written under ‘Quick and Short’ edition. In this article I will explain about Joins used within T-SQL statement.

Read more Quick and Short articles.

The JOIN keyword is used in an SQL statement to query data from two or more tables, based on a relationship between certain columns in these tables.

Tables in a database are often related to each other with keys.

A primary key is a column (or a combination of columns) with a unique value for each row. Each primary key value must be unique within the table. The purpose is to bind data together, across tables, without repeating all of the data in every table.

Different SQL Joins:

  • Inner Join
  • LEFT OUTER JOIN or LEFT JOIN
  • RIGHT OUTER JOIN or RIGHT JOIN
  • FULL OUTER JOIN or FULL JOIN
  • Cross Join
  • UNION
  • UNION ALL

  Read more »

VN:F [1.7.2_963]
Rating: 4.0/5 (1 vote cast)