Examveda

Which of these operators does not perform relative-value comparisons?

A. =

B. ==

C. <=

D. >=

Answer: Option B

Solution (By Examveda Team)

This question is about how MySQL compares values. We're looking for the operator that *doesn't* check if one value is greater than, less than, or equal to another.
Let's break down the options:
Option A: = This operator checks if two values are equal. This is a relative comparison.
Option B: == This operator is another way to check if two values are equal. This is also a relative comparison.
Option C: <= This operator checks if the first value is less than or equal to the second value. This is a relative comparison.
Option D: >= This operator checks if the first value is greater than or equal to the second value. This is a relative comparison.
The answer is none of the above. All of the operators listed ( =, ==, <=, >= ) perform relative-value comparisons.

This Question Belongs to MySQL >> MySQL Miscellaneous

Join The Discussion

Related Questions on MySQL Miscellaneous