--创建数据库
create database 数据库名
go--切换到刚才创建的数据库(打开数据库)
use 数据库名
go--在新建的数据库中创建表
create table 表名(id int identity(1,1),name varchar(20))
go