Question
Easy

Which SQL Query is used to remove a table and all its data from the database ?

1
Create Table
2
Alter Table
3
Drop Table
4
None of three
Question Details
Time to Solve: 12
Exam: HTET
Level/Paper: Level 3
Chapter: Database Management System (DBMS) & SQL
Topic: SQL
Correct Answer
Option C
Explanation

The correct option is (3): The Structured Query Language (SQL) command specifically designed to permanently remove a table definition and all its corresponding data, indexes, constraints, and other associated objects from the database is DROP TABLE. This command belongs to the Data Definition Language (DDL) set, which means it deals with the database's schema or structure, not the data content itself. When you execute DROP TABLE, the entire table object…Read More