How to select columns from a table which have non null values?

select column_name
from user_tab_columns
where table_name='Table_name' and num_nulls=0;

Here is simple code to get non null columns..


Use the below:

SELECT *
FROM information_schema.columns
WHERE table_name = 'Table_Name' and is_nullable = 'NO'

Table_Name has to be replaced accordingly...