I have a table with a lot of columns and a type column.
Some columns seem to be always empty for a specific type.
I want to create a view for each type and o
SELECT tablecolumn, tablecolumn2, ... FROM TABLENAME WHERE column IS NOT NULL