Answers for "sql command to delete some rows in mysql"

SQL
21

mysql delete row

DELETE FROM products WHERE product_id=1;
Posted by: Guest on March-03-2020
9

delete all rows from table mysql

-- Quick, no possible rollback
TRUNCATE TABLE my_table;
-- With rollback
DELETE FROM my_table;
COMMIT;
Posted by: Guest on January-23-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language