Ver Mensaje Individual
  #3  
Antiguo 04-08-2011
Avatar de ingabraham
ingabraham ingabraham is offline
Miembro
 
Registrado: ago 2007
Posts: 614
Reputación: 17
ingabraham Va por buen camino
Lightbulb

Código SQL [-]
select Case when peso < 25000 then count(peso) else 0 end as bajo, 
Case when peso > 25000 then count(peso) else 0 end  as bueno 
From nacimiento

Le falto el end. Ahora me aparece invalid token select list agregate group by clause
Algo así es lo k kiero. Me puedes colaborar gracias.
__________________
Enseñar es la virtud de un sabio.
Responder Con Cita