how to delete a row from sql on basis of id code example Example: delete record by id sql DELETE FROM table_name WHERE condition;