Module 13 (Introduction to SQL - Part 2).pdf
Module 13 (Introduction to SQL - Part 2).pdf
Module 13 (Introduction to SQL - Part 2).pdf
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Using JOIN and WHEREIf, for example, we want <strong>to</strong> find out order his<strong>to</strong>ryfor only those employees who earn $50,000+/year,we can add it in a WHERE clause:SELECT *FROM Employees E INNER JOIN Orders OON E.EmployeeID = O.EmployeeIDWHERE Employees.Salary >= 50000