1.

What does the expression ’12 DIV 5′ evaluate to?(a) 2.4(b) 2(c) error(d) 0

Answer» Right choice is (b) 2

To explain: The ‘DIV’ operator in MySQL is used to perform the integer divisions. The operator ‘/’ performs the quotient of the operands. If result exceeds the 64-bit range, unpredicted results are shown.


Discussion

No Comment Found