Home Answers Viewqa SQL What is a "join"?

 
 


hemant kumar
What is a "join"?
1 Answer(s)      2 years and 6 months ago
Posted in : SQL

What is a "join"?

View Answers

November 18, 2010 at 11:50 AM


Hi,

Here is the answer,

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 join is used to combine rows from multiple tables. A join is performed whenever two or more tables is listed in the FROM clause of an SQL statement.

For example,

SELECT suppliers.supplierid, suppliers.suppliername, orders.order_date FROM suppliers, orders WHERE suppliers.supplierid = orders.supplierid;









Related Pages:

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.