
23/09/2005, 02:23
|
 | | | Fecha de Ingreso: noviembre-2004
Mensajes: 2.344
Antigüedad: 20 años, 4 meses Puntos: 8 | |
Código:
select country, count(provider_id)as total
from provider group by country order by total DESC Limit 5
UNION
Select 'otros' as country, count(provider_id) as total from provider where provider_id not in (select provider_id
from provider group by country order by total DESC Limit 5 )
Espero que te sirva |