+ 1

Are <> and != Both same in SQL?

When I was reading SQL through w3school, I learnt that if I want to use 'a.xd' not equal to 12 then I can write as WHERE a.xd<>12. But from here in SoloLearn I learn that != is used are both same or depending on whether I am using mySQL or other SQL tools it varies??

11th Nov 2018, 6:02 PM
SWAPNIL DATTARAY SASTE
SWAPNIL DATTARAY SASTE - avatar
3 ответов
0
It makes no sense to have <> kind of operator. If u want both u shud give them separately
12th Nov 2018, 2:59 AM
Gaurav Rana
Gaurav Rana - avatar
12th Nov 2018, 4:43 PM
SWAPNIL DATTARAY SASTE
SWAPNIL DATTARAY SASTE - avatar
0
Yes both works the same way. Not equal sign I believe
12th Nov 2018, 4:44 PM
Jagbir