Machine-translated by Google. Questions are authored in English.
Top

Discussion

To establish a range of values, < and > can be used.

  • A.True
  • B.
    False

Answer: A

Correct answer: True

The comparison operators establish a range directly: WHERE salary > 30000 AND salary < 50000 bounds the values on both sides.

They differ from BETWEEN in one respect that matters. BETWEEN is inclusive of both endpoints, whereas < and > are strict, so the two forms are not interchangeable at the boundaries - >= AND <= is what matches BETWEEN. Using the operators explicitly is the clearer choice when one end should be included and the other not.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.