12.07.2015 Views

Module 13 (Introduction to SQL - Part 2).pdf

Module 13 (Introduction to SQL - Part 2).pdf

Module 13 (Introduction to SQL - Part 2).pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The JOIN ClauseThe above query will systematically match up therecords from both the Employees and theOrders tables, using the join key rules given inthe ON clause.That is, as the database engine runs through theEmployees table, it simultaneously obtains allthe order records that that employee was involvedin placing (where the EmployeeID field of theOrders table agreed with the EmployeeID of theEmployees table).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!