This is my mysql table named samp
+--------+--------+
| name | roleid |
+--------+--------+
| alki | 2 |
| karthi | 3 |
| aadhil | 2 |
| pri | 2 |
| pri | 2 |
+--------+--------+
when I used query like select name from samp where name not in ('alki','pri',NULL)
I expected the result to be,
+--------+
| name |
+--------+
| karthi |
| aadhil |
+--------+
But my result is Empty set
. I have an alternative to do this. But I need to know the reason behind this.