Advertisement
Guest User

Untitled

a guest
Dec 7th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. select t.id_typ, t.typ, count(t.typ) as ile
  2. from typ t
  3. join przesylka p on t.id_typ=p.id_typ
  4. group by t.typ
  5. order by ile desc
  6. limit 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement