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

Short text versus long text

Which type is best for the tytul column, which holds a string of up to 255 characters?

Answer options

  • TEXT
  • INT
  • ENUM('tytul')
  • VARCHAR(255)

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