Last active
February 22, 2018 11:37
-
-
Save dclarke-modus/9323e5348c45fadcc3e0d02415970b1d to your computer and use it in GitHub Desktop.
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
Employee Table Department | |
id, name id, name, employee_id | |
1, Dean Clarke 1, Accounts, 1 | |
2, Harshid 2, Legal, 2 | |
3, Puja |
select e.* from Employee e INNER JOIN Department d on e.id = d.employee_id
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
write a query, that outputs:
name, count
Harshid, 2