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

Dangerous DELETE without WHERE

What will the command do: DELETE FROM czytelnicy; (without a WHERE clause)?

Answer options

  • It will remove only one, the last reader
  • It will drop the czytelnicy table itself along with its structure
  • It will remove ALL readers - it will empty the whole table
  • It will report an error because columns are missing after DELETE

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