Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- select idCantina from (select x.idCantina, x.NumeroVini from (select idCantina, count(*) as NumeroVini from vini group by idCantina) as x) as y
- where y.numeroVini=(select max(k.numeroVini) from (select count(*) as NumeroVini from vini group by idCantina) as k);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement