![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
21/02/2010, 15:08
|
![Avatar de jackson666](http://static.forosdelweb.com/customavatars/avatar329736_4.gif) | | | Fecha de Ingreso: noviembre-2009 Ubicación: Buenos Aires, Argentina
Mensajes: 1.971
Antigüedad: 15 años, 3 meses Puntos: 65 | |
Respuesta: Consulta SQL Cita:
Iniciado por spider_boy No, porque COUNT te devuelve la cantidad total de IDs que hay, osea, devuelve solo un valor ![borracho](http://static.forosdelweb.com/fdwtheme/images/smilies/borracho.png)
Código SQL:
Ver originalSELECT MAX(COUNT(DISTINCT(id))) FROM tabla;
__________________ HV Studio
Diseño y desarrollo web |