Question · SQL and MySQL course · Module 4: Creating tables (DDL)

Adding a new column

Which statement will you use to add a new column to the existing ksiazki table?

Answer options

  • ALTER TABLE ksiazki ADD COLUMN ...
  • CREATE COLUMN ksiazki ...
  • INSERT COLUMN INTO ksiazki ...
  • UPDATE TABLE ksiazki COLUMN ...

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