The expression 12 DIV 5 evaluates to . . . . . . . .
A. 2.4
B. 2
C. error
D. 0
Answer: Option B
Solution (By Examveda Team)
This question asks about the DIV operator in MySQL.DIV is used for integer division, meaning it only gives you the whole number result, ignoring any remainder.
In this case, 12 divided by 5 equals 2.4.
However, DIV only gives the whole number part, which is 2.
So the correct answer is Option B: 2.
Related Questions on MySQL Miscellaneous
How is communication established with MySQL?
A. SQL
B. Network calls
C. A programming language like C++
D. APIs
Which type of database management system is MySQL?
A. Object-oriented
B. Hierarchical
C. Relational
D. Network
Join The Discussion