Created
March 16, 2021 17:11
-
-
Save KevDev90/45eee5c2e3d202d421a1d1a46dc763f3 to your computer and use it in GitHub Desktop.
relationships-practice
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How many people work in the Sales department? - 4 - | |
SELECT | |
e.emp_name as Full_Name, | |
e.salary as Salary, | |
d.dept_name as Department | |
FROM | |
employee e | |
INNER JOIN | |
department d | |
ON e.department = d.id | |
WHERE | |
d.dept_name = 'Sales'; | |
List the names of all employees assigned to the 'Plan Christmas party' project. - Toby Flenderson | |
List the names of employees from the Warehouse department that are assigned to the 'Watch paint dry' project. - n/a | |
Which projects are the Sales department employees assigned to? - watch paint dry | |
List only the managers that are assigned to the 'Watch paint dry' project.- Jim halpert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment