how to delete data from table code example
Example 1: sql delete where in
-- Deletes all records where `columnName` matches the values in brackets.
DELETE FROM tableName WHERE columnName IN ('val1', 'val2', 'val3');
Example 2: how to delete a table data in sql
DELETE FROM table_name; //will delete the table data without affecting the table structue