delete data from sql table where id is selected code example Example: delete record by id sql DELETE FROM table_name WHERE condition;