Ver Mensaje Individual
  #7 (permalink)  
Antiguo 09/08/2011, 12:25
Avatar de luisito1
luisito1
 
Fecha de Ingreso: junio-2009
Ubicación: Córdoba
Mensajes: 226
Antigüedad: 14 años, 11 meses
Puntos: 2
Respuesta: Problemas con el codigo

Cita:
Iniciado por iislas Ver Mensaje
SUM(CASE WHEN i.idestado=1 THEN cantidad END) AS JUSTIFICADAS,
SUM(CASE WHEN i.idestado=2 THEN cantidad END) AS INJUSTIFICADAS
haber ahi te digo iislas