SQL
3 SQL Data Definition create table create table instructor( ID char(5), name varchar(20) not null, dept_name varchar(20), salary numeric(8,2), primary key(ID), foreign key(dept_name) references department, check(salary>0); ) insert insert into instructor values(080040, 'Jack', 'Com.Sci', 8000) delete delete from isntructor drop drop table r alter table alter table r add A D alter table r drop A Select Query select distinct dept_name from instructor # 去重 select all dept_name from instructor # 不去重 select T.