-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreate_instances_output.txt
215 lines (194 loc) · 7.93 KB
/
create_instances_output.txt
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
Executing statement: INSERT INTO Person (dni, name, phone, address, city, country) VALUES
('dni-1', 'Goku', '555123456', 'Kame House', 'West City', 'Dragon Ball'),
('dni-2', 'Vegeta', '555654321', 'Capsule Corp', 'West City', 'Dragon Ball'),
('dni-3', 'Piccolo', NULL, 'Mountains', 'East City', 'Dragon Ball'),
('dni-4', 'Krillin', '555987654', 'Kame House', 'West City', 'Dragon Ball'),
('dni-5', 'Bulma', '555876543', 'Capsule Corp', 'West City', 'Dragon Ball'),
('dni-6', 'Chi-Chi', '555234567', 'Son House', 'West City', 'Dragon Ball'),
('dni-7', 'Gohan', '555345678', 'Son House', 'West City', 'Dragon Ball'),
('dni-8', 'Goten', '555456789', 'Son House', 'West City', 'Dragon Ball'),
('dni-9', 'Trunks', '555567890', 'Capsule Corp', 'West City', 'Dragon Ball'),
('dni-10', 'Pan', '555678901', 'Son House', 'West City', 'Dragon Ball'),
('dni-11', 'Cell', '555789012', 'Cell Arena', 'South City', 'Dragon Ball'),
('dni-12', 'Frieza', '555890123', 'Frieza Ship', 'North City', 'Dragon Ball'),
('dni-13', 'Majin Buu', '555901234', 'Majin House', 'West City', 'Dragon Ball'),
('dni-14', 'Beerus', '555012345', 'Beerus Planet', 'North City', 'Dragon Ball'),
('dni-15', 'Whis', '555123456', 'Whis Planet', 'North City', 'Dragon Ball'),
('dni-16', 'Jiren', '555234567', 'Jiren House', 'West City', 'Dragon Ball'),
('dni-17', 'Hit', '555345678', 'Hit House', 'West City', 'Dragon Ball'),
('dni-18', 'Zamasu', '555456789', 'Zamasu House', 'West City', 'Dragon Ball'),
('dni-19', 'Black', '555567890', 'Black House', 'West City', 'Dragon Ball'),
('dni-20', 'Broly', '555678901', 'Broly House', 'West City', 'Dragon Ball'),
('dni-21', 'Raditz', '555789012', 'Raditz House', 'West City', 'Dragon Ball'),
('dni-22', 'Nappa', '555890123', 'Nappa House', 'West City', 'Dragon Ball')
Response:
Executing statement: INSERT INTO Visitor (dni, profession) VALUES
('dni-1', 'Warrior'),
('dni-2', 'Prince'),
('dni-3', 'Warrior'),
('dni-4', 'Engineer'),
('dni-5', 'Engineer'),
('dni-6', 'Housewife'),
('dni-7', 'Student'),
('dni-8', 'Student'),
('dni-9', 'Student'),
('dni-10', 'Student')
Response:
Executing statement: INSERT INTO Staff (dni, salary, mobile_phone, social_security_id) VALUES
('dni-11', 1000.00, '555123456', 'SS123456'),
('dni-12', 2000.50, '555234567', 'SS234567'),
('dni-13', 3000.75, '555345678', 'SS345678'),
('dni-14', 4000.00, '555456789', 'SS456789'),
('dni-15', 5000.25, '555567890', 'SS567890'),
('dni-16', 6000.10, '555678901', 'SS678901'),
('dni-17', 7000.50, '555789012', 'SS789012'),
('dni-18', 8000.75, '555890123', 'SS890123'),
('dni-19', 9000.00, '555901234', 'SS901234'),
('dni-20', 10000.25, '555012345', 'SS012345'),
('dni-21', 11000.50, '555123456', 'SS123456'),
('dni-22', 12000.75, '555234567', 'SS234567')
Response:
Executing statement: INSERT INTO Hostel (category, capacity, name) VALUES
(5, 50, 'Namekusei Hostel'),
(4, 45, 'Saiyan Hostel'),
(3, 40, 'Earth Hostel'),
(2, 35, 'Vegeta Hostel'),
(1, 30, 'Frieza Hostel')
Response:
Executing statement: INSERT INTO Survey (score, visitor_dni, date, hostel_id) VALUES
(5, 'dni-1', '2024-12-01 10:30:00', 1),
(4, 'dni-2', '2024-12-02 11:30:00', 1),
(3, 'dni-3', '2024-12-03 12:30:00', 1),
(2, 'dni-4', '2024-12-04 13:30:00', 1),
(1, 'dni-5', '2024-12-05 14:30:00', 3),
(5, 'dni-6', '2024-12-06 15:30:00', 3),
(4, 'dni-7', '2024-12-07 16:30:00', 3),
(3, 'dni-8', '2024-12-08 17:30:00', 3),
(2, 'dni-9', '2024-12-09 18:30:00', 3),
(1, 'dni-10', '2024-12-10 19:30:00', 2),
(1, 'dni-6', '2024-11-06 15:30:00', 2),
(3, 'dni-7', '2024-11-07 16:30:00', 4),
(5, 'dni-8', '2024-11-08 17:30:00', 4),
(3, 'dni-9', '2024-11-09 18:30:00', 5),
(2, 'dni-10', '2024-11-10 19:30:00', 5)
Response:
Executing statement: INSERT INTO Booking (visitor_dni, hostel_id, beds, start_date, end_date) VALUES
('dni-1', 1, 1, '2024-12-01', '2024-12-05'),
('dni-2', 2, 2, '2024-12-02', '2024-12-06'),
('dni-3', 3, 3, '2024-12-03', '2024-12-07'),
('dni-4', 4, 4, '2024-12-04', '2024-12-08'),
('dni-5', 5, 5, '2024-12-05', '2024-12-09'),
('dni-6', 1, 1, '2024-11-06', '2024-11-10'),
('dni-7', 2, 2, '2024-11-07', '2024-11-11'),
('dni-8', 3, 3, '2024-11-08', '2024-11-12'),
('dni-9', 4, 4, '2024-11-09', '2024-11-13'),
('dni-10', 5, 5, '2024-11-10', '2024-11-14'),
('dni-6', 1, 1, '2024-12-06', '2024-12-10'),
('dni-7', 2, 2, '2024-12-07', '2024-12-11'),
('dni-8', 3, 3, '2024-12-08', '2024-12-12'),
('dni-9', 4, 4, '2024-12-09', '2024-12-13'),
('dni-10', 5, 5, '2024-12-10', '2024-12-14')
Response:
Executing statement: INSERT INTO Zone (id, name, area) VALUES
(1, 'Namekusei Zone', 1500.50),
(2, 'Saiyan Zone', 1200.75)
Response:
Executing statement: INSERT INTO Entrance (id, zone_id, number) VALUES
(1, 1, 2),
(2, 1, 1),
(3, 2, 1),
(4, 2, 2),
(5, 2, 3)
Response:
Executing statement: INSERT INTO Trip (hostel_id, zone_id, type, start_date, end_date, capacity) VALUES
(1, 1, 'VEHICLE', '2024-12-01 08:00:00', '2024-12-01 18:00:00', 10),
(2, 2, 'WALKING', '2024-12-02 09:00:00', '2024-12-02 17:00:00', 15),
(3, 1, 'VEHICLE', '2024-12-03 10:00:00', '2024-12-03 16:00:00', 8),
(4, 2, 'WALKING', '2024-12-04 11:00:00', '2024-12-04 15:00:00', 20),
(5, 1, 'VEHICLE', '2024-12-05 07:00:00', '2024-12-05 13:00:00', 12),
(1, 2, 'VEHICLE', '2024-11-06 08:00:00', '2024-11-06 18:00:00', 10),
(2, 1, 'WALKING', '2024-11-07 09:00:00', '2024-11-07 17:00:00', 15),
(3, 1, 'VEHICLE', '2024-11-08 10:00:00', '2024-11-08 16:00:00', 8),
(4, 1, 'WALKING', '2024-11-09 11:00:00', '2024-11-09 15:00:00', 20),
(5, 1, 'VEHICLE', '2024-11-10 07:00:00', '2024-11-10 13:00:00', 12),
(1, 2, 'VEHICLE', '2024-12-06 08:00:00', '2024-12-06 18:00:00', 10),
(2, 2, 'WALKING', '2024-12-07 09:00:00', '2024-12-07 17:00:00', 15),
(3, 2, 'VEHICLE', '2024-12-08 10:00:00', '2024-12-08 16:00:00', 8),
(4, 2, 'WALKING', '2024-12-09 11:00:00', '2024-12-09 15:00:00', 20),
(5, 1, 'VEHICLE', '2024-12-10 07:00:00', '2024-12-10 13:00:00', 12)
Response:
Executing statement: INSERT INTO Species (id, name, scientific_name) VALUES
(1, 'Cow', 'cow'),
(2, 'Lion', 'lion'),
(3, 'Pig', 'pig'),
(4, 'Plant 1', 'plant-1'),
(5, 'Plant 2', 'plant-2'),
(6, 'Amber', 'amber'),
(7, 'Diamond', 'diamond')
Response:
Executing statement: INSERT INTO Animal (id, diet_type, mating_season) VALUES
(1, 'HERBIVORE', 'Spring'),
(2, 'CARNIVORE', 'Summer'),
(3, 'OMNIVORE', 'Fall')
Response:
Executing statement: INSERT INTO Vegetal (id, has_flowering, flowering_period) VALUES
(4, TRUE, 'Spring'),
(5, FALSE, NULL)
Response:
Executing statement: INSERT INTO Mineral (id, type) VALUES
(6, 'ROCK'),
(7, 'CRYSTAL')
Response:
Executing statement: INSERT INTO Predator (predator_species_id, prey_species_id) VALUES
(1, 4),
(1, 6),
(2, 1),
(3, 2),
(3, 1),
(3, 3),
(1, 3)
Response:
Executing statement: INSERT INTO Population (zone_id, species_id, size) VALUES
(1, 1, 50),
(2, 2, 75),
(1, 3, 40),
(2, 4, 100),
(2, 5, 20),
(1, 6, 10),
(1, 7, 5)
Response:
Executing statement: INSERT INTO Manager (dni, entrance_id) VALUES
('dni-11', 1),
('dni-12', 2),
('dni-13', 3),
('dni-14', 4),
('dni-15', 5)
Response:
Executing statement: INSERT INTO Maintenance (dni, speciality, zone_id) VALUES
('dni-16', 'Electricity', 1),
('dni-17', 'Engineering', 2)
Response:
Executing statement: INSERT INTO Surveillance (dni, zone_id) VALUES
('dni-18', 1),
('dni-19', 2)
Response:
Executing statement: INSERT INTO Researcher (dni, title) VALUES
('dni-20', 'Scientist'),
('dni-21', 'PhD'),
('dni-22', 'Scientist')
Response:
Executing statement: INSERT INTO Research (researcher_dni, species_id, budget, start_date, end_date) VALUES
('dni-20', 1, 1000.00, '2024-01-01', '2024-06-01'),
('dni-21', 2, 1500.50, '2024-02-01', '2024-07-01'),
('dni-22', 3, 2000.75, '2024-03-01', '2024-08-01'),
('dni-20', 4, 2500.00, '2024-04-01', '2024-09-01'),
('dni-21', 5, 3000.50, '2024-05-01', '2024-10-01'),
('dni-22', 6, 3500.75, '2024-06-01', '2024-11-01'),
('dni-20', 7, 4000.00, '2024-07-01', '2024-12-01'),
('dni-21', 1, 4500.50, '2024-08-01', '2025-01-01'),
('dni-22', 2, 5000.75, '2024-09-01', '2025-02-01')
Response:
Executing statement: INSERT INTO Vehicle (license_plate, type, owner_dni) VALUES
('DBZ001', 'CAR', 'dni-18'),
('DBZ002', 'BIKE', 'dni-19')
Response: