Home » MYSQL » MySQL Type Conversion in Expression Evaluation » Question
  1. The expression 12 DIV 5 evaluates to ____________.
    1. 2
    2. 2.4
    3. 0
    4. error
    5. None of these
Correct Option: A

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.



Your comments will be displayed only after manual approval.