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?

  1. A.

    >

  2. B.

    <=

  3. C.

    =>

  4. 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.

Explore the full course: Bpsc