Removing Data from All Rows in a Table1:27 with Andrew Chalkley
In this video, we'll see how to delete all data from a table.
To delete all rows from a table:
DELETE FROM <table>;
DELETE FROM logs;
DELETE FROM users;
DELETE FROM products;
See all of the SQL used in Modifying Data With SQL in the Modifying Data With SQL Cheatsheet.
You need to sign up for Treehouse in order to download course files.Sign up