Created
October 7, 2018 16:53
-
-
Save SushmaBaliza/28bc34d08068623ceae132c921b676d4 to your computer and use it in GitHub Desktop.
This file contains 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
SELECT a.Emp_id, a.Emp_name,a.Emp_Role,b.Dept_id,b.Dept_name,b.Location | |
FROM employees a | |
RIGHT JOIN departments b | |
on a.Dept_id = b.Dept_id | |
ORDER BY a.Emp_id; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment