Ver Mensaje Individual
  #4 (permalink)  
Antiguo 08/04/2009, 12:02
turfeano
 
Fecha de Ingreso: diciembre-2008
Mensajes: 190
Antigüedad: 15 años, 4 meses
Puntos: 6
Respuesta: Podrian ayudarme con esta consultilla por favor

a lo bestia
Código:
select (select COUNT(*) FROM asistencia where estado='presente') as presentes,(select COUNT(*) FROM asistencia where estado='ausente') as ausentes FROM asistencia limit 1;
esta mal guardado asi los datos igual