clear table in mysql code example
Example 1: clear a table in mysql
truncate tableName
Example 2: delete table in mysql
delete table query
DROP TABLE <table name;
e.g. DROP TABLE students;
truncate tableName
delete table query
DROP TABLE <table name;
e.g. DROP TABLE students;