单项选择题
已知emp表中的主键为职工编号(eno),删除主键的操作为()。
A.alter table emp drop column eno;
B.alter table emp delete constraint eno;
C.update table emp drop constraint eno;
D.update table emp delete constraint eno;
点击查看答案&解析
相关考题
-
单项选择题
下列可以删除emp表中工资(sal)列结构的语句为()。
A.alter table emp delete sal;
B.alter table emp drop column sal;
C.drop sal from table emp;
D.delete sal from table emp; -
单项选择题
下列能删除emp表中员工编号(eno)为7429的信息的操作为()。
A.alter table emp drop eno =7469;
B.alter table emp drop where eno =7469;
C.delete from emp eno =7469;
D.delete from emp where eno =7469; -
单项选择题
若想更改emp表中编号(eno)为7369的员工姓名(ename)为张三,则正确的操作是()。
A.alter emp set ename=’张三’where eno=7369;
B.alter emp ename=’张三’where eno=7369;
C.update emp set ename=’张三’where eno=7369;
D.update emp ename=’张三’where eno=7369;
