Share
What is the difference between DELETE, TRUNCATE, and DROP?
Question
can you help me with this question
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Answer ( 1 )
WHERE
can be used).📌 Example:
DELETE FROM employees WHERE id = 101; -- Can be rolled back
TRUNCATE TABLE employees;
-- Deletes all rows, no rollback
DROP TABLE employees;Â