engineering computer science MCQ #710

What is the purpose of the DROP TABLE statement in SQL?

engineering computer science MCQ #710

  1. Question 1

    Q1. What is the purpose of the DROP TABLE statement in SQL?

    • A) To delete data from a table
    • B) To delete a table
    • C) To create a new table
    • D) To modify a table

    Answer: To delete a table

    Explanation: The DROP TABLE statement is used to delete a table and all its data, indexes, and constraints.