● Table Name : school -> stdnum : Student Number, name : Name, birth : Birthday, eng : English, hb_no : Hobby Number
CREATE TABLE school (stdnum VARCHAR(15),name VARCHAR(15),
birth DATE,eng INT(3),hb_no INT(2), PRIMARY KEY(stdnum));
INSERT INTO school (stdnum,name,birth,eng,hb_no) VALUES
('20210110','Iron Man','1970-5-29',95,1),
('20200207','Black Widow','1984-12-3',100,2),
('20190522','Spider Man','2001-8-10',99,4),
('20201007','Batman','1915-4-17',100,2),
('20211201','Hulk','1969-12-18',80,5)";
● Table Name : grade -> grd : Grade, score : Score
CREATE TABLE grade (grd varchar(5),score int(3), PRIMARY KEY(grd));
INSERT INTO grade (grd,score) VALUES ('A',90), ('B',80), ('C',70), ('D',60), ('F',59);