Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.

Commit

Permalink
Fixed data tables
Browse files Browse the repository at this point in the history
- filled shopping cart + enroll screen
- fixed class schedule table + drop table
  • Loading branch information
danielphung01 committed Nov 18, 2021
1 parent 551e3f4 commit 224cdb5
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions courseEnrollmentDatabaseQuery.sql
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,17 @@ INSERT INTO room VALUES
INSERT INTO course VALUES
(1, 1300, 'Discrete Structures', 4),
(2, 3010, 'Numerical Methods and Computing', 3),
(3, 3560, 'Object-Oriented Design and Programming', 3);
(3, 3560, 'Object-Oriented Design and Programming', 3),
(4, 3650, 'Computer Architecture', 3);

INSERT INTO coursesection VALUES
(1, 1, 1, 1, 1, 'MWF 11:00AM - 12:15PM', 30, 20),
(2, 2, 1, 2, 1, 'TTh 9:00AM - 11:15AM', 30, 20),
(3, 2, 2, 2, 2, 'TTh 4:00PM - 5:15PM', 30, 20),
(4, 2, 2, 3, 3, 'TTh 5:00PM - 5:15PM', 30, 20);
(4, 2, 3, 3, 3, 'MW 6:00PM - 7:15PM', 30, 20),
(5, 3, 4, 1, 1, 'TTh 7:30PM - 8:45PM', 30, 20),
(6, 3, 5, 3, 2, 'WMF 8:00AM - 9:50AM', 30, 20),
(7, 4, 2, 1, 1, 'MW 1:00PM - 2:50PM', 30, 20);

INSERT INTO courseenrollment VALUES
(1, 1, 'A-'),
Expand All @@ -101,4 +105,7 @@ INSERT INTO courseenrollment VALUES
(1, 4, 'B+');

INSERT INTO shoppingcart VALUES
(1, 1, 8, 8);
(3, 1, 7, 0),
(4, 1, 7, 0),
(5, 1, 7, 0),
(1, 2, 4, 0);

0 comments on commit 224cdb5

Please sign in to comment.