Question · SQL and MySQL course · Module 5: Modifying data (DML)

No columns after DELETE

Why do we not provide column names with DELETE?

Answer options

  • Because DELETE only changes one field to NULL
  • Because DELETE removes the whole row, not a single field
  • Because column names are given after the word SET
  • Because DELETE works only on the id column

You can check the correct answer by solving this task in the CodeWorlds game.