<>
What does this charac开发者_C百科ter mean when placed in an SQL query?
That's the SQL way of writing the not equal
operator.
This means "not equal" operator in SQL query ieselect * from firstname <> 'james'
this means give me all rows whose first name not equal to james
It's the SQL operator for "not equal", though many databases also provide the (non standard) !=
operator that means exactly the same.
this means 'Not Equal Operator.' ......!!!!!
Just as !=
in c and other languages. <>
is for SQL
this operator means not equal ....
Not equal, i.e. Less than or greater than.
精彩评论