Question · SQL and MySQL course · Module 11: Capstone project

Data type for text

Which data type will you choose for short text, e.g. a book title?

Answer options

  • INT - a whole number
  • BOOLEAN - a true/false value
  • DATE - a date
  • VARCHAR(255) - variable-length text up to the given limit

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