Advertisement
Guest User

Untitled

a guest
Apr 25th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. select unique p.id, p.adresa, p.mesto
  2. from pobocka p
  3. inner join auto a on a.idpobocka = p.id
  4. inner join automodel m on m.id = a.idautomodel
  5. where m.motor not in (
  6. select motor
  7. from automodel
  8. where motor < 2
  9. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement