That should work, ensure that you are using where clause on the proper column.
Also check if the column contains any white spaces.
debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
first select whether your table has null rows or not.
run following queries one by one.
SELECT name, grade, age FROM education
WHERE (grade IS NULL )
SELECT name, grade, age FROM education
WHERE ( name is null )
SELECT name, grade, age FROM education
WHERE (age is null)
see whether you get any row(s) (having null value)
urtrivedi
Nearly a Posting Virtuoso
1,306 posts since Dec 2008
Reputation Points: 257
Solved Threads: 270
can u post some sample data here.
debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
i think you do not have null vales in your database. What you have is 'NULL' word in columns, thats why my query did not show any result.
So now you can remove such rows by following query
delete from tablename where TRIM(grade)='NULL'
urtrivedi
Nearly a Posting Virtuoso
1,306 posts since Dec 2008
Reputation Points: 257
Solved Threads: 270