Initial Commit
This commit is contained in:
BIN
Assignments/As6/A6.pdf
Normal file
BIN
Assignments/As6/A6.pdf
Normal file
Binary file not shown.
9
Assignments/As6/Create Table.sql
Normal file
9
Assignments/As6/Create Table.sql
Normal 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)
|
||||
);
|
BIN
Assignments/As6/IsaacShoebottom_As6.docx
Normal file
BIN
Assignments/As6/IsaacShoebottom_As6.docx
Normal file
Binary file not shown.
BIN
Assignments/As6/IsaacShoebottom_As6.pdf
Normal file
BIN
Assignments/As6/IsaacShoebottom_As6.pdf
Normal file
Binary file not shown.
BIN
Assignments/As6/RickQAddData1.png
Normal file
BIN
Assignments/As6/RickQAddData1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
Assignments/As6/RickQChangeID2Manitoba.png
Normal file
BIN
Assignments/As6/RickQChangeID2Manitoba.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
Assignments/As6/RickQDeleteManitoba.png
Normal file
BIN
Assignments/As6/RickQDeleteManitoba.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
6
Assignments/As6/add data.sql
Normal file
6
Assignments/As6/add data.sql
Normal 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
Assignments/As6/change id 2.sql
Normal file
1
Assignments/As6/change id 2.sql
Normal file
@ -0,0 +1 @@
|
||||
update schools set province = 'Manitoba' where (schoolId = 2);
|
1
Assignments/As6/delete manitoba.sql
Normal file
1
Assignments/As6/delete manitoba.sql
Normal file
@ -0,0 +1 @@
|
||||
delete from schools where province = 'Manitoba';
|
Reference in New Issue
Block a user