What is the key difference between DELETE and TRUNCATE in SQL?
Answer options
A
DELETE is DDL; TRUNCATE is DML
B
DELETE can have a WHERE clause; TRUNCATE removes all rows
C
DELETE is faster than TRUNCATE
D
TRUNCATE can be rolled back; DELETE cannot
Correct answer: DELETE can have a WHERE clause; TRUNCATE removes all rows
Detailed Solution & Conceptual Analysis
This question has been retained as-is due to its unique context.
Key Engineering Takeaway
In Database Management, understanding the underlying mechanics of SQL is critical for writing performant, bug-free production code and passing rigorous technical architecture reviews.