1Z0-006 practice question 6 of 10
Which SQL statement is used to remove an existing table?
Full set: 356 questionsThe DROP TABLE statement is the standard SQL Data Definition Language (DDL) command used to permanently remove a table's definition, all of its data, and associated objects like indexes, constraints, and triggers from the database. Once executed, this action cannot be rolled back with a ROLLBACK command, and the table structure and its contents are irrecoverably deleted unless flashback features are available and used.
A. REMOVE TABLE is not a valid SQL command for deleting a table structure.
C. DELETE is a DML command used to remove rows from a table, but it does not remove the table structure itself. DELETE TABLE is syntactically incorrect.
D. ERASE TABLE is not a standard SQL command.
1. Oracle Corporation. (2023). Oracle Database SQL Language Reference, 23c. "DROP TABLE". The documentation explicitly defines this command as the one that "removes a table or object table and all its data from the database."
2. Elmasri, R., & Navathe, S. B. (2016). Fundamentals of Database Systems (7th ed.). Pearson. Chapter 8, "SQL: Data Definition and Data Types," Section 8.1.4, "The DROP Command." The text specifies DROP TABLE as the command to delete a base table.
Keep practicing
Take the free 1Z0-006 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 1Z0-006 practice questions
- Question 1Which of the following is an example of a relational database management system (RDBMS)?
- Question 2What is a foreign key in a database?
- Question 3What is a database management system (DBMS) used for in a computer system?
- Question 4Why is it important to accurately map the physical model of a database?
- Question 5What is a database management system (DBMS)?
- Question 7What is the purpose of a data dictionary in the context of database modeling?
