Vidyalelo
MySQL · Q694

MySQL

Programming · MySQL · question 694

Q694

Which of these operators does not perform relative value comparisons?

A.
=
B.
==
Answer
C.
<=
D.
>=

Answer: Option B

Solution

Answer: Option B
Solution:
This question is asking about operators in MySQL that compare values. Let's break down the options:
Option A: = This operator checks if two values are equal. It compares the values relatively.
Option B: == This operator also checks if two values are equal. It's the same as using "=", so it performs relative comparisons.
Option C: <= This operator checks if a value is less than or equal to another value. It performs relative comparisons by comparing the values based on their order.
Option D: >= This operator checks if a value is greater than or equal to another value. It performs relative comparisons similar to option C.
Therefore, none of the operators (A, B, C, or D) perform absolute comparisons. They all compare values relatively based on their size or order.