This repository has been archived by the owner on Dec 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
datos.sql
30 lines (27 loc) · 1.66 KB
/
datos.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
-- Tabla: ciudades
INSERT INTO Ciudades VALUES (1,'Santiago');
INSERT INTO Ciudades VALUES (2,'Viña del Mar');
INSERT INTO Ciudades VALUES (3,'Concepción');
INSERT INTO Ciudades VALUES (4,'Rancagua');
INSERT INTO Ciudades VALUES (5,'Temuco');
-- Tabla: Beneficiarios
INSERT INTO Beneficiarios VALUES (1,'Juan Perez',23,1);
INSERT INTO Beneficiarios VALUES (2,'Pedro López',30,3);
INSERT INTO Beneficiarios VALUES (3,'Diego González',18,2);
INSERT INTO Beneficiarios VALUES (4,'Martín Sánchez',45,1);
INSERT INTO Beneficiarios VALUES (5,'Samuel Reyes',30,4);
INSERT INTO Beneficiarios VALUES (6,'Matías Donoso',60,5);
-- Tabla: Ayudas
INSERT INTO Ayudas (beneficiarioid, monto, motivo) VALUES (3,250000,'Insumos');
INSERT INTO Ayudas (beneficiarioid, monto, motivo) VALUES (2,50000,'Alimentación');
INSERT INTO Ayudas (beneficiarioid, monto, motivo) VALUES (2,40000,'Cuentas');
INSERT INTO Ayudas (beneficiarioid, monto, motivo) VALUES (4,240000,'Alimentación');
INSERT INTO Ayudas (beneficiarioid, monto, motivo) VALUES (1,80000,'Cuentas');
INSERT INTO Ayudas (beneficiarioid, monto, motivo) VALUES (2,150000,'Insumos');
INSERT INTO Ayudas (beneficiarioid, monto, motivo) VALUES (4,100000,'Cuentas');
INSERT INTO Ayudas (beneficiarioid, monto, motivo) VALUES (3,50000,'Cuentas');
INSERT INTO Ayudas (beneficiarioid, monto, motivo) VALUES (3,50000,'Alimentación');
INSERT INTO Ayudas (beneficiarioid, monto, motivo) VALUES (1,25000,'Insumos');
INSERT INTO Ayudas (beneficiarioid, monto, motivo) VALUES (5,25000,'Alimentación');
INSERT INTO Ayudas (beneficiarioid, monto, motivo) VALUES (6,38500,'Cuentas');
INSERT INTO Ayudas (beneficiarioid, monto, motivo) VALUES (5,20000,'Insumos');