Which of the following is not a valid relational operator used with WHERE…
2025
Which of the following is not a valid relational operator used with WHERE clause in SQL?
- A.
>
- B.
<=
- C.
=>
- D.
<>
Attempted by 2125 students.
Show answer & explanation
Correct answer: C
In SQL, the WHERE clause uses relational operators to compare values. The valid operators include: > (greater than), < (less than), >= (greater than or equal to), <= (less than or equal to), = (equal to), and <> (not equal to). The symbol '=>' is not a valid relational operator in standard SQL. It is often confused with '>=', but the correct syntax for 'greater than or equal to' is two characters without an arrow.