use pay create table pay.dbo.dept (deptno varchar(10) not null unique, deptname varchar(20) not null …
SQl 源代码
结构化查询语言(StructuredQueryLanguage)简称SQL,是一种特殊目的的编程语言,是一种数据库查询和程序设计语言,用于存取数据以及查询、更新和管理关系数据库系统。
select distinct professor from person
sp_unbindefault 'person.professor' drop default default_prof
create unique index sort_deptname on dept(deptname)
delete from person where no='000007'
alter table person add constraint check_sex check(sex in('男','女'))
alter table person add nation char(12) default'中国'
select * from person where sex='男'
insert into dept values('00106','培训部')