1.

Which operator is used to perform integer divisions in MySQL?(a) /(b) \(c) DIV(d) //I had been asked this question in semester exam.This interesting question is from MySQL Setup topic in chapter General MySQL Use of MySQL

Answer»

Right answer is (C) DIV

The EXPLANATION is: The operator ‘DIV’ is used to perform integer divisions in MySQL. ‘//’ is used in languages like Python to do the same. The operator ‘/’ performs FLOATING point divisions and ‘\’ is FACILITATES escape sequences.



Discussion

No Comment Found

Related InterviewSolutions