How to create a table

create table 表名 {

attribute name 1 data type [complete constraints],

attribute name 2 data type [complete constraints],

...

attribute name n data type [full constraints],

};

//Create a student table, including student ID, name, gender, birthday.

create  table  student{

stuNo int(10) not null; //student number

name  varchar(16);  //

sex varchar(4);

brithday date;

}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324949369&siteId=291194637