title: How to select columns from a table which have non null values?
body: <p>I have a table containing hundreds of columns many of which are null, and I would like have my select statement so that only those columns containing a value are returned. It would help me analyze data better. Something like:</p>
  
  <p>Select (non null columns) from tablename;</p>
  
  <p>I want to select all columns which have at least one non-null value.</p>
  
  <p>Can this be done?</p>