Skip to content

Instantly share code, notes, and snippets.

View andyp14feb's full-sized avatar
🌴
On vacation

andyp14feb

🌴
On vacation
  • 02:53 (UTC +07:00)
View GitHub Profile
SELECT
e1.name
FROM
employees e1
LEFT JOIN(
SELECT DISTINCT
managerid
FROM
employees
WHERE
SELECT
COUNT(*)
FROM students
WHERE
firstName ='John'