Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does <> mean on SQL

Tags:

mysql

I was looking for what the <> mean on sql syntax but it was hard to google for it since google removes my special characters.

Specifically I was trying to figure out what the following means:

... AND (s1.skips > 0 OR s1.fails <> 1 OR s2.skips > 0);

Is there any clear documentation talking about the <> clause?

like image 389
Charlie Parker Avatar asked Jul 22 '26 15:07

Charlie Parker


2 Answers

Please have a look at the documentation.

Comparison Functions and Operators

like image 195
Zwirbelbart Avatar answered Jul 25 '26 06:07

Zwirbelbart


Of course, it's the "not equal"-operator, same as !=, see manual

like image 28
VMai Avatar answered Jul 25 '26 06:07

VMai



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!