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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The LEFT JOINThe LEFT JOIN specifies that all records fromthe left-hand table be returned, even if the recordhas no matching records in the right-hand table.If we used a LEFT JOIN in the previousexample, all Employee records would be returned,even employees who generated no Orders.In such a case, the employee record who had zeroothers would be returned exactly once, and thefields that came from the right-hand table wouldbe NULL in that record.

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

Saved successfully!

Ooh no, something went wrong!