Ver Mensaje Individual
  #2 (permalink)  
Antiguo 24/03/2010, 20:33
Avatar de huesos52
huesos52
Colaborador
 
Fecha de Ingreso: febrero-2009
Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 15 años, 2 meses
Puntos: 360
Respuesta: COUNT Condicional.

tal vez así

Código MySQL:
Ver original
  1. select count(t1.nombre) as registro_total,
  2. t2.conteo
  3. usuarios t1,(select count(nombre) conteo from usuarios where usuario_registro_fecha = curdate())t2;

No lo he probado

saludos
__________________
Without data, You are another person with an opinion.
W. Edwads Deming