Question · SQL and MySQL course · Module 4: Creating tables (DDL)
Data type for a boolean value
Which data type best stores a yes/no value, e.g. whether a copy is available?
Answer options
- DATETIME
- BOOLEAN
- ENUM('nowy','uzywany')
- DECIMAL(8,2)
You can check the correct answer by solving this task in the CodeWorlds game.