--删除表
--drop table teachers;--创建表create table teachers( tno varchar2(6) not null, tname varchar2(8) not null, tsex varchar2(4) not null, tsr date, pro varchar2(10), depa varchar2(14));--添加注释
comment on column teachers.tnois' 教师编号(主键)';comment on column teachers.tnameis' 教师名称';comment on column teachers.tsexis' 教师性别)';comment on column teachers.tsris' 教师生日';comment on column teachers.prois' 教师职称)';comment on column teachers.depais' 教师部门)';--添加主键约束
--alter 修改的意思alter table teachers add constraint pk_teachers primary key(tno);