javascript
Brief description  about Online courses   join in Online courses
View Sandhya  Ramakrishnan 's Profile

NULL value

Dear Sir
The salary column (float data type) of one column is set as NULL. But the following query returns null value
select * from users where salary=NULL;
Please let me know what is wrong in the above query
With Thanks and regards
Sandhya
Asked by Sandhya Ramakrishnan | Oct 3, 2012 |  Reply now
Replies (1)
View amit kumar goswami 's Profile
select * from users where salary=NULL

this query return record from users table where salary equals

to zero means row where you not enter any salary that will

return
Oct 4, 2012