单项选择题
如果存在stu表,则将其删除的SQL语句是()。
A.drop table to stu
B.drop table stu
C.drop table if exists stu
D.create table stu
点击查看答案&解析
相关考题
-
单项选择题
查询wg表中所有数据的命令是()。
A.select * from wg
B.show tbales
C.show databases
D.show * from wg -
单项选择题
查询wg表中ID列的内容的SQL语句是()。
A.select ID from wg
B.show ID from wg
C.select * from student group by ID
D.show * from wg -
单项选择题
已知数据库ds库中有phones表,表中包含Brand(品牌),model(型号),colour(颜色)等字段,请查询表中品牌为“华为”,型号为“P20”的相关信息,以下SQL语句操作正确的是()。
A.select * from ds.phones where Brand="华为"and model="P20"
B.select * from ds.phones where Brand="华为"or model="P20"
C.select * from ds.phones where having"华为"and"P20"
D.select * from ds.phones where having"华为"or"P20"
