单项选择题
删除score表中的id字段,下列SQL语句中可以实现的是()
A.alter table score drop id;
B.alter table score delete id;
C.alter table score modify id;
D.alter table score change id;
点击查看答案&解析
相关考题
-
单项选择题
删除不用的表,比如要删除score表,判断score表要是存在则删除,那么下列SQL语句可以实现的是()。
A.drop table to score;
B.drop table score;
C.drop table ifexists score;
D.create table score; -
单项选择题
如果需要在score表中插入一条新的记录,那么可以使用下列哪个SQL语句实现?()
A.create
B.insert
C.update
D.alter -
单项选择题
有report表有如下字段:姓名性别年龄地址那么要查询年龄在18岁以上的所有人的信息,那么应该如何查询()
A.select*fromr eport
B.select年龄from report
C.select*from report where性别=’男’
D.selec*from report where年龄>=18
