Skip to content

Instantly share code, notes, and snippets.

@georgbez
Created January 9, 2018 20:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save georgbez/5753d0dc9f807353fc9ba8d2f7fac8fc to your computer and use it in GitHub Desktop.
Save georgbez/5753d0dc9f807353fc9ba8d2f7fac8fc to your computer and use it in GitHub Desktop.
select * from Fahrzeug fz
where EXISTS
( select * from Fahrzeugtyp ft
where ft.Hersteller_ID = 1
and fz.Fahrzeugtyp_ID = ft.ID );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment