Initial Commit

This commit is contained in:
2022-10-07 00:48:09 -03:00
commit 5f5056d65a
186 changed files with 2500 additions and 0 deletions
Binary file not shown.
+9
View File
@@ -0,0 +1,9 @@
DROP TABLE IF EXISTS schools;
CREATE TABLE schools (
schoolId INT NOT NULL AUTO_INCREMENT,
name varchar(50) NOT NULL,
province varchar(20) DEFAULT NULL,
language char(2) DEFAULT NULL,
level varchar(10) DEFAULT NULL,
PRIMARY KEY (schoolId)
);
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

+6
View File
@@ -0,0 +1,6 @@
insert into schools (name, province, language, level) values ('University of New Brunswick', 'New Brunswick', 'EN', 'University');
insert into schools (name, province, language, level) values ('Leo Hayes', 'New Brunswick', 'EN', 'High School');
insert into schools (name, province, language, level) values ('Fredericton High School', 'New Brunswick', 'EN', 'High School');
insert into schools (name, province, language, level) values ('Liverpool Elementary', 'New Brunswick', 'EN', 'Elementary');
insert into schools (name, province, language, level) values ('Forest Hill', 'New Brunswick', 'EN', 'Elementary');
insert into schools (name, province, language, level) values ('Bliss Carmen', 'New Brunswick', 'EN', 'Middle School');
+1
View File
@@ -0,0 +1 @@
update schools set province = 'Manitoba' where (schoolId = 2);
+1
View File
@@ -0,0 +1 @@
delete from schools where province = 'Manitoba';