Ver Mensaje Individual
  #1 (permalink)  
Antiguo 18/05/2003, 19:48
Avatar de Darksoft
Darksoft
 
Fecha de Ingreso: mayo-2002
Mensajes: 106
Antigüedad: 22 años
Puntos: 0
hacer un "max count" en mysql aunque no se pueda

buenas, necesito hace un max de un count en mysql y como no se puede pues intento hacer una subselect como esta:

SELECT * FROM tabla1 WHERE cantidad>=(SELECT MAX(cantidad) FROM tabla1)


Pero no funciona, alguna idea?

Gracias