Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
KHY_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Graduate
2020-06-09 13:23:07 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4dacde21ed0d8b95b48775905e145b9a7e8c7709
4dacde21
1 parent
de954850
Change table student_attendance
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
DB/SQL/create_table_lecture.sql
DB/SQL/create_table_lecture.sql
View file @
4dacde2
...
...
@@ -15,11 +15,10 @@ FOREIGN KEY (student_id) REFERENCES student(student_id)
CREATE
TABLE
student_attendance
(
lecture_id
VARCHAR
(
20
)
NOT
NULL
,
student_id
VARCHAR
(
10
)
NOT
NULL
,
student_name
VARCHAR
(
50
)
NOT
NULL
,
status
VARCHAR
(
10
)
NOT
NULL
,
timestamp
DATETIME
DEFAULT
CURRENT_TIMESTAMP
,
FOREIGN
KEY
(
lecture_id
)
REFERENCES
lecture
(
lecture_id
),
FOREIGN
KEY
(
student_id
)
REFERENCES
student
(
student_id
)
,
FOREIGN
KEY
(
student_id
)
REFERENCES
student
(
student_id
)
);
CREATE
TABLE
undefined_image
(
...
...
Please
register
or
login
to post a comment