Herramientas de usuario

Herramientas del sitio


informatica:base_de_datos:postgresql:postgresql_pivot

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
informatica:base_de_datos:postgresql:postgresql_pivot [2026/01/29 02:24] admininformatica:base_de_datos:postgresql:postgresql_pivot [2026/01/29 02:50] (actual) admin
Línea 19: Línea 19:
  
 INSERT INTO tbl VALUES  INSERT INTO tbl VALUES 
-  ('A', 'Active', 1), ('A', 'Inactive', 2) +  ('A', 'Active', 1),  
-, ('B', 'Active', 4), ('B', 'Inactive', 5) +  ('A', 'Inactive', 2), 
-                    , ('C', 'Inactive', 7);  -- ('C', 'Active') is missing+  ('B', 'Active', 4), 
 +  ('B', 'Inactive', 5), 
 +  ('C', 'Inactive', 7);  -- ('C', 'Active') is missing
  
  
informatica/base_de_datos/postgresql/postgresql_pivot.1769653452.txt.gz · Última modificación: 2026/01/29 02:24 por admin