如果要删除user数据库中的user1表,可以使用下列哪个命令______
A: ALERT TABLE user1
B: DROP TABLE user1
C: DELETE TABLE user1
D: TRUNCATE TABLE user1
A: ALERT TABLE user1
B: DROP TABLE user1
C: DELETE TABLE user1
D: TRUNCATE TABLE user1
举一反三
- 下面使用DROP USER语句删除用户user1的语句中,正确的是 A: DROP USER user1@localhost; B: DROP USER 'user1'.’ocalhost'; C: DROP USER user1.localhost; D: DROP USER 'user1'@'localhost';
- hive中清空表user的HQL语句为( ) A: delete from user; B: remove table user; C: drop table user; D: truncate table user;
- 删除用户账户命令是( ) A: DROP USER B: DROP TABLE USER C: DELETE USER D: DELETE FROM USER
- 下列选项中,可以删除表user中所有记录的SQL语句是( )。 A: DELETE TABLE `user` B: DELETE FROM `user` C: DELETE `user` D: ALTER TABLE DELETE `user`
- 假设需要导出某个表table1,只导出表结构,不导出数据,可以使用如下()命令。 A: EXP user/pwd tables=(name,table1)file=export.dmp Rows=y B: EXP user1/pwd table table1 file=extable1.dmp C: EXP user/pwd tables=(name,table1)file=export.dmp Rows=n D: EXP user1/pwd table=table1 file=extable1.dmp Rows=