Home »
MCQs »
SQL MCQs »
SQL Data Types MCQs
What does BOOL mean in MySQL Numeric Data Types?
13. What does BOOL mean in MySQL Numeric Data Types?
- A Boolean value is specified by this variable. When a value is nonzero, it is considered false, and zero is considered true.
- A Boolean value is specified by this variable. When a value is nonzero, it is considered true, and zero is considered false.
- A Boolean value is specified by this variable. When a value is nonzero, it is considered true, and zero is also considered true.
- A Boolean value is specified by this variable. When a value is nonzero, it is considered false, and zero is also considered false.
Answer: B) A Boolean value is specified by this variable. When a value is nonzero, it is considered true, and zero is considered false.
Explanation:
A Boolean value is specified by this variable. When a value is nonzero, it is considered true, and zero is considered false.