Ver Mensaje Individual
  #3 (permalink)  
Antiguo 19/08/2006, 14:20
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Prueba con este query:
Código:
SELECT COUNT(`id`) as total FROM `alumnos` INNER JOIN `estatus` ON `alumnos`.`estatus` = `estatus`.`estatus` WHERE `estatus`.`estatus`='ID_DEL_QUE_QUIERAS_SABER' GROUP BY (`id`)