Which SQL command is used to remove a table and all its data permanently from the database?
- DELETE
- TRUNCATE
- DROP
- REMOVE
Answer: DROP
DROP TABLE removes the entire table structure and all data permanently; cannot be rolled back in most systems. DELETE removes rows (can use WHERE, can be rolled back). TRUNCATE removes all rows quickly but keeps table structure. DROP is a DDL command; DELETE/TRUNCATE are DML commands.