sql语句生成表查询写法

来源:百度知道 编辑:UC知道 时间:2024/06/29 02:59:52
一般简单的一个就可以

create table xs
( sno char(8) primary key,
sname char(10)not null,
sex bit(2) not null,
)
最简单的说

每种数据库创建表的语法都不完全相同,最好是对症下药

create table([id] int,[name] varchar(20))