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

Role of the SET clause

What is the SET clause used for in an UPDATE command?

Answer options

  • It indicates which rows are to be changed
  • It indicates which column and to what value we change it
  • It creates a new table
  • It ends the whole command

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