Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
student-attendance-detail-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shaphen Pangburn
student-attendance-detail-service
Commits
33b778c3
Commit
33b778c3
authored
Apr 12, 2021
by
Kevin Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Not broken anymore
parent
1c0496a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
attendance.sql
attendance/src/main/resources/attendance.sql
+13
-13
No files found.
attendance/src/main/resources/attendance.sql
View file @
33b778c3
DROP
TABLE
IF
EXISTS
ATTENDANCE
;
CREATE
TABLE
ATTENDANCE
(
ID
INT
AUTO_INCREMENT
PRIMARY
KEY
,
STUDENT_EMAIL
VARCHAR
(
255
)
NOT
NULL
,
ATTENDANCE_DATE
DATE
NOT
NULL
,
DID_ATTEND
BOOLEAN
DEFAULT
FALSE
ID
INT
AUTO_INCREMENT
PRIMARY
KEY
,
STUDENT_EMAIL
VARCHAR
(
255
)
,
ATTENDANCE_DATE
DATE
NOT
NULL
,
DID_ATTEND
BOOLEAN
DEFAULT
FALSE
);
INSERT
INTO
ATTENDANCE
VALUES
(
1
,
'a@a.com'
,
'0001-02-01'
,
TRUE
),
(
2
,
'b@b.com'
,
'0001-02-02'
,
FALSE
),
(
3
,
'c@c.com'
,
'0001-02-03'
,
TRUE
),
(
3
,
'c@c.com'
,
'0001-02-04'
,
TRUE
),
(
2
,
'b@b.com'
,
'0001-02-03'
,
TRUE
),
(
1
,
'a@a.com'
,
'0001-02-02'
,
FALSE
),
(
1
,
'a@a.com'
,
'0001-02-03'
,
TRUE
),
(
3
,
'c@c.com'
,
'0001-02-05'
,
TRUE
),
(
1
,
'a@a.com'
,
'0001-02-04'
,
FALSE
);
\ No newline at end of file
(
1
,
'a@a.com'
,
'0001-02-01'
,
TRUE
),
(
2
,
'b@b.com'
,
'0001-02-02'
,
FALSE
),
(
3
,
'c@c.com'
,
'0001-02-03'
,
TRUE
),
(
4
,
'c@c.com'
,
'0001-02-04'
,
TRUE
),
(
5
,
'b@b.com'
,
'0001-02-03'
,
TRUE
),
(
6
,
'a@a.com'
,
'0001-02-02'
,
FALSE
),
(
7
,
'a@a.com'
,
'0001-02-03'
,
TRUE
),
(
8
,
'c@c.com'
,
'0001-02-05'
,
TRUE
),
(
9
,
'a@a.com'
,
'0001-02-04'
,
FALSE
);
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment