Created
December 18, 2019 12:13
-
-
Save ksakae1216/6b68c7ab5adee45a34d155a306b7f83e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- login | |
CREATE TABLE test_mysql.login | |
( | |
loginId VARCHAR(10) NOT NULL, | |
password VARCHAR(20) NOT NULL, | |
CONSTRAINT PRIMARY KEY (loginId) | |
); | |
-- lessonlist | |
CREATE TABLE test_mysql.lessonlist | |
( | |
userId VARCHAR(10) NOT NULL, | |
userFirstName VARCHAR(20) NOT NULL, | |
userLastName VARCHAR(20) NOT NULL, | |
lesson1st VARCHAR(20) NOT NULL, | |
lesson2nd VARCHAR(20), | |
CONSTRAINT PRIMARY KEY (userId) | |
); | |
-- language | |
CREATE TABLE test_mysql.language | |
( | |
language VARCHAR(30) NOT NULL, | |
information VARCHAR(30), | |
CONSTRAINT PRIMARY KEY (language) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment