如何在aa数据库中创建学生表,字段为:学号,姓名,性别,入学成绩,数据类型自定用SQL

如何在aa数据库中创建学生表,字段为:学号,姓名,性别,入学成绩,数据类型自定用SQL

use aa
if not object_id('tblstudent') is null
drop table tblstudent
create table tblstudent
(学号 char(10) constraint pk_tblstudent primary key,
姓名 char(20) not null,
性别 char(4),
入学成绩 int)
温馨提示:答案为网友推荐,仅供参考
相似回答