Commit 33b778c3 authored by Kevin Kaminski's avatar Kevin Kaminski

Not broken anymore

parent 1c0496a1
...@@ -2,18 +2,18 @@ DROP TABLE IF EXISTS ATTENDANCE; ...@@ -2,18 +2,18 @@ DROP TABLE IF EXISTS ATTENDANCE;
CREATE TABLE ATTENDANCE ( CREATE TABLE ATTENDANCE (
ID INT AUTO_INCREMENT PRIMARY KEY, ID INT AUTO_INCREMENT PRIMARY KEY,
STUDENT_EMAIL VARCHAR(255) NOT NULL, STUDENT_EMAIL VARCHAR(255),
ATTENDANCE_DATE DATE NOT NULL, ATTENDANCE_DATE DATE NOT NULL,
DID_ATTEND BOOLEAN DEFAULT FALSE DID_ATTEND BOOLEAN DEFAULT FALSE
); );
INSERT INTO ATTENDANCE VALUES INSERT INTO ATTENDANCE VALUES
(1, 'a@a.com', '0001-02-01', TRUE), (1, 'a@a.com', '0001-02-01', TRUE),
(2, 'b@b.com', '0001-02-02', FALSE), (2, 'b@b.com', '0001-02-02', FALSE),
(3, 'c@c.com', '0001-02-03', TRUE), (3, 'c@c.com', '0001-02-03', TRUE),
(3, 'c@c.com', '0001-02-04', TRUE), (4, 'c@c.com', '0001-02-04', TRUE),
(2, 'b@b.com', '0001-02-03', TRUE), (5, 'b@b.com', '0001-02-03', TRUE),
(1, 'a@a.com', '0001-02-02', FALSE), (6, 'a@a.com', '0001-02-02', FALSE),
(1, 'a@a.com', '0001-02-03', TRUE), (7, 'a@a.com', '0001-02-03', TRUE),
(3, 'c@c.com', '0001-02-05', TRUE), (8, 'c@c.com', '0001-02-05', TRUE),
(1, 'a@a.com', '0001-02-04', FALSE); (9, 'a@a.com', '0001-02-04', FALSE);
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment