Ver Mensaje Individual
  #2 (permalink)  
Antiguo 11/07/2007, 12:12
daniel00
 
Fecha de Ingreso: noviembre-2006
Ubicación: México
Mensajes: 866
Antigüedad: 17 años, 7 meses
Puntos: 8
Re: Como hacer esta consulta sabios!!!!

Que tal Patrik.

Prueba así:

Código:
select count(*) as Total
from ( select distinct idpaciente, id_numero_atencion from Sintoma_paciente )  as t
Saludos!