Question · SQL and MySQL course · Module 4: Creating tables (DDL)
Logical type
Which type best stores a true/false value, e.g. whether a copy is available?
Answer options
- TEXT
- DECIMAL(1,0)
- BOOLEAN (that is TINYINT)
- DATE
You can check the correct answer by solving this task in the CodeWorlds game.