Deleting Data from MySQL Tables

Published July 26, 2025 By Sai Sree Ram Gundepudi

DELETE with WHERE

DELETE FROM employees WHERE id = 2;

Delete All Rows

DELETE FROM employees;

Use with caution — consider using TRUNCATE if you want to remove all rows quickly.

Was this solution helpful?

Your feedback helps improve our technical knowledge repository.

Share this article