sql query to del data by id code example Example: delete record by id sql DELETE FROM table_name WHERE condition;