Script Postgresql
Script Postgresql
Script Postgresql
into
into
into
into
into
into
into
categorias
categorias
categorias
categorias
categorias
categorias
categorias
(categoriaid,
(categoriaid,
(categoriaid,
(categoriaid,
(categoriaid,
(categoriaid,
(categoriaid,
*/
nombrecat)
nombrecat)
nombrecat)
nombrecat)
nombrecat)
nombrecat)
nombrecat)
values
values
values
values
values
values
values
(100,
(200,
(300,
(400,
(500,
(600,
(700,
'CARNICOS');
'LACTEOS');
'LIMPIEZA');
'HIGINE PERSONAL');
'MEDICINAS');
'COSMETICOS');
'REVISTAS');
va
va
va
va
va
va
va
va
va
va
VALUES
VALUES
VALUES
VALUES
VALUES
VALUES
VALUES
VALUES
VALUES
VALUES
VALUES
VALUES
(1,10,100,'SALCHICHAS VIENESAS',2.60,200);
(2,10,100,'SALAMI DE AJO',3.60,300);
(3,10,100,'BOTON PARA ASADO',4.70,400);
(4,20,100,'SALCHICHAS DE POLLO',2.90,200);
(5,20,100,'JAMON DE POLLO',2.80,100);
(6,30,200,'YOGURT NATURAL',4.30,80);
(7,30,200,'LECHE CHOCOLATE',1.60,90);
(8,40,200,'YOGURT DE SABORES',1.60,200);
(9,40,200,'CREMA DE LECHE',3.60,30);
(10,50,600,'BASE DE MAQUILLAJE',14.70,40);
(11,50,600,'RIMMEL',12.90,20);
(13,60,600,'SOMBRA DE OJOS',9.80,100);
INSERT
INSERT
INSERT
INSERT
INSERT
INSERT
INSERT
VALUES
VALUES
VALUES
VALUES
VALUES
VALUES
VALUES
INTO
INTO
INTO
INTO
INTO
INTO
INTO
EMPLEADOS
EMPLEADOS
EMPLEADOS
EMPLEADOS
EMPLEADOS
EMPLEADOS
EMPLEADOS
INTO
INTO
INTO
INTO
INTO
INTO
INTO
INTO
INTO
INTO
ORDENES
ORDENES
ORDENES
ORDENES
ORDENES
ORDENES
ORDENES
ORDENES
ORDENES
ORDENES
VALUES(1,3,4,'17/06/07', 5);
VALUES(2,3,4,'02/06/07', 10);
VALUES(3,4,5,'05/06/07', 6);
VALUES(4,2,6,'06/06/07', 2);
VALUES(5,2,7,'09/06/07', NULL);
VALUES(6,4,5,'12/06/07', 10);
VALUES(7,2,5,'14/06/07', 10);
VALUES(8,3,2,'13/06/07', 10);
VALUES(9,3,2,'17/06/07', 3);
VALUES(10,2,2,'18/06/07', 2);
INSERT
INSERT
INSERT
INSERT
INSERT
INSERT
INSERT
INSERT
INSERT
INSERT
INSERT
INSERT
INSERT
INSERT
INSERT
INTO
INTO
INTO
INTO
INTO
INTO
INTO
INTO
INTO
INTO
INTO
INTO
INTO
INTO
INTO
detalle_ordenes
detalle_ordenes
detalle_ordenes
detalle_ordenes
detalle_ordenes
detalle_ordenes
detalle_ordenes
detalle_ordenes
detalle_ordenes
detalle_ordenes
detalle_ordenes
detalle_ordenes
detalle_ordenes
detalle_ordenes
detalle_ordenes
VALUES(1,3,6,1);
VALUES(1,4,9,1);
VALUES(2,1,10,10);
VALUES(2,2,13,20);
VALUES(3,1,3,10);
VALUES(4,1,9,12);
VALUES(5,1,1,14);
VALUES(5,2,4,20);
VALUES(6,1,3,12);
VALUES(7,1,11,10);
VALUES(8,1,2,10);
VALUES(8,2,5,14);
VALUES(8,3,7,10);
VALUES(9,1,11,10);
VALUES(10,1,1,5);