Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- select unique p.id, p.adresa, p.mesto
- from pobocka p
- inner join auto a on a.idpobocka = p.id
- inner join automodel m on m.id = a.idautomodel
- where m.motor not in (
- select motor
- from automodel
- where motor < 2
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement