Eliminar la fila SQL por ID
DELETE FROM employees
WHERE employeeID = 3;
Bloody Beaver
DELETE FROM employees
WHERE employeeID = 3;
-- Deletes all records where `columnName` matches the values in brackets.
DELETE FROM tableName WHERE columnName IN ('val1', 'val2', 'val3');
CREATE TABLE my_table (
my_id INT NOT NULL,
name VARCHAR(100)
);
DELETE FROM my_table WHERE my_id = 100;
COMMIT; -- if autocommit is off