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.

Compound JOINsIn the JOIN section, the first half does thejoining between Products andCategories. The second half does thejoining between Orders and [OrderDetails].Finally these two sub-joins are, in effect,combined in<strong>to</strong> a grand join that attaches thedollar values <strong>to</strong> the Products (as sorted byCategory).

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

Saved successfully!

Ooh no, something went wrong!