Created
October 18, 2021 19:10
-
-
Save vvgsrk/79d0836268c775e59b635e0d4150d478 to your computer and use it in GitHub Desktop.
Self Join
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
SELECT worker.last_name || ' works for ' || manager.last_name worker_works_for_manager | |
FROM employees worker, employees manager | |
WHERE worker.manager_id = manager.employee_id; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment