I have a table
create table us ( a number );
Now I have data like:
a 1 2 3 4 null null null 8 9
Now I need
if its mysql, you can try something like this.
select (select count(*) from TABLENAME WHERE a = 'null') as total_null, (select count(*) from TABLENAME WHERE a != 'null') as total_not_null FROM TABLENAME