Oracle NULL value also filtering -


im trying filter category 'student'. null category filtering out. please let me know how filter student not null value.

query:  select * customer category != 'student' 

null isn't comporable anything, itself. include need have separate condition it:

select * customer category null or category != 'student' 

you nvl or coalesce column magic value, explicitly looking null cleaner, find.

quick sql fiddle.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -