Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- select t.id_typ, t.typ, count(t.typ) as ile
- from typ t
- join przesylka p on t.id_typ=p.id_typ
- group by t.typ
- order by ile desc
- limit 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement