Skip to content

Instantly share code, notes, and snippets.

@bartubozkurt
Created June 11, 2021 19:28
Show Gist options
  • Select an option

  • Save bartubozkurt/0db246b6a949316d3ffc701d62217413 to your computer and use it in GitHub Desktop.

Select an option

Save bartubozkurt/0db246b6a949316d3ffc701d62217413 to your computer and use it in GitHub Desktop.
Displays DE cyclists unless they are also DE skaters at the same time
SELECT name
FROM cycling
WHERE country = 'DE'
EXCEPT
SELECT name
FROM skating
WHERE country = 'DE';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment