1.

The expression ‘2 BETWEEN 2 AND 5’ results in ____________(a) True(b) False(c) -1(d) 2The question was posed to me in semester exam.The question is from Expression Evaluation and Type Conversion topic in chapter Data Types of MySQL

Answer»

Correct option is (a) True

Easiest explanation: The ‘BETWEEN ……. AND’ clause is USED to RETURN a boolean value, if the GIVEN operand value lies between the values specified by the ‘AND’ clause. The RANGE endpoints are INCLUSIVE.



Discussion

No Comment Found

Related InterviewSolutions