开发者

What is this symbol in an SQL query?

开发者 https://www.devze.com 2023-01-24 12:57 出处:网络
where _c1.name<>c2.name 开发者_Go百科 I am confused with the symbol <>. Please explain its meaning.Greater than and less than.
where _c1.name<>c2.name
开发者_Go百科

I am confused with the symbol <>. Please explain its meaning.


Greater than and less than.

In other words not equal to aka !=.

To put it rather confusingly != = <> , yes they can be used interchangeably.


It means different. Your clause indicates that _c1 and c2 must not have the same name value.


It means "not equal to". It is an alternative to using !=. Here is a list of the operators used in SQL Server.

It comes from meaning < less than or > greater than. i.e. anything but equal.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号