Question

     In database management, which SQL command is used to

    remove a table and all its data from a database?
    A DELETE Correct Answer Incorrect Answer
    B REMOVE Correct Answer Incorrect Answer
    C TRUNCATE Correct Answer Incorrect Answer
    D DROP Correct Answer Incorrect Answer

    Solution

    Explanation: The DROP command in SQL is used to delete an entire table, including its structure and data. DELETE removes rows from a table, TRUNCATE removes all rows but retains the table structure, and REMOVE is not a standard SQL command.

    Practice Next