
21/02/2010, 15:08
|
 | | | Fecha de Ingreso: noviembre-2009 Ubicación: Buenos Aires, Argentina
Mensajes: 1.971
Antigüedad: 15 años, 4 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 
Código SQL:
Ver originalSELECT MAX(COUNT(DISTINCT(id))) FROM tabla;
__________________ HV Studio
Diseño y desarrollo web |