Ver Mensaje Individual
  #1 (permalink)  
Antiguo 31/07/2015, 09:44
AndreyMolina91
 
Fecha de Ingreso: julio-2015
Mensajes: 1
Antigüedad: 8 años, 9 meses
Puntos: 0
Pregunta CONSULTA PIVOT SQLServer

Hola.

Cómo puedo pivotear o cambiar la vista de una tabla que principalmente se ve asi.

Tabla1

__________________________________
|Fecha|Corte|Cliente|Producto|Precio|Calidad|
------------------------------------------------------
|_1__ |____|_____|__P1___|__1_|_____|
|_1__ |____|_____|__P2___|__2_|_____|
|_1__ |____|_____|__P3___|__3_|_____|
|_2__ |____|_____|__P1___|__4_|_____|

Y que se vea asi.

___________________
|Fecha|P1|P2|P3|Calidad|
-------------------------------
|_1__| 1 | 2 | 3 | _____|
|_2__| 4 | x | x | _____|