Tema: Consulta sql
Ver Mensaje Individual
  #9 (permalink)  
Antiguo 14/04/2010, 08:48
Avatar de xyyy7
xyyy7
 
Fecha de Ingreso: enero-2004
Ubicación: Maracay.-
Mensajes: 637
Antigüedad: 20 años, 3 meses
Puntos: 5
Respuesta: Consulta sql

Cita:
Iniciado por iislas Ver Mensaje
Select cliente,
case when mes = 'enero/2010' then importe end as 'enero/2010'
case when mes = 'febrero/2010' then importe end as 'febrero/2010'
.............................
Gracias.-
__________________
Maracay Edo Aragua - Venezuela :
Mi Favorita :
http://www.MySQL.Com