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

Meaning of DECIMAL parameters

In the notation DECIMAL(8,2), what does the second number (2) mean?

Answer options

  • The number of digits after the decimal point (decimal places)
  • The total number of all digits
  • The maximum number of rows
  • The number of columns in the table

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