Creating a table

create TABLE date(
id int  primary key,
sname VARCHAR(20),
ssex varchar(4),
sage int,
birth date,
snative  VARCHAR(20)


)

Create a table above the following format:

create table 表名(

Field Name Type Constraint,

Field Name Type,

Field Name Type,

Field Name Type,

Field Name Type // this last field can not add a comma behind

)

Guess you like

Origin www.cnblogs.com/qf928/p/11798367.html