I have 20 columns in my table....
How can I select only columns that don\'t have null value
col1 col2 col3 20 12 null
Desired
You can go to the table's metadata and check for the columns which are defined NOT NULL and create a select query with only those columns.