-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sql
More file actions
28 lines (25 loc) · 696 Bytes
/
Copy pathsetup.sql
File metadata and controls
28 lines (25 loc) · 696 Bytes
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
DELETE FROM scores WHERE 1=1;
DELETE FROM schedule WHERE 1=1;
DELETE FROM teams WHERE 1=1;
INSERT INTO teams (number, name) VALUES
(1000, 'First Team'),
(2000, 'Second Team'),
(3000, 'Third Team'),
(4000, 'Fourth Team'),
(5000, 'Fifth Team'),
(6000, 'Sixth Team'),
(7000, 'Seventh Team'),
(8000, 'Eighth Team'),
(9000, 'Ninth Team');
INSERT INTO schedule (type, number, redTeam, blueTeam) VALUES
('Match', 1, 1000, 2000),
('Match', 2, 3000, 4000),
('Match', 3, 5000, 6000),
('Match', 4, 7000, 8000),
('Match', 5, 9000, 1000),
('Match', 6, 2000, 3000),
('Match', 7, 4000, 5000),
('Match', 8, 6000, 7000),
('Match', 9, 8000, 2000);
SELECT * FROM teams;
SELECT * FROM schedule;