Put in order · SQL and MySQL course · Module 4: Creating tables (DDL)

Defining the id primary key

Arrange the elements of a primary key definition on one line, from left to right:

Items to put in order

  • INT
  • id
  • AUTO_INCREMENT
  • PRIMARY KEY

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