Hi macromotion
use this syntax to delete all data from mysql table:
DELETE from table_name [WHERE conditions];
If you don't specify any conditions ALL THE DATA IN THE TABLE WILL BE DELETED
if you want to delete only some rows, you can user for example:
DELETE from employee_data
WHERE emp_id = 10;
Query OK, 1 row affected (0.00 sec)
Thanks
Regards
Mani_he
|