sql select all except null values code example Example: sql select except null SELECT mycolumn FROM mytable WHERE mycolumn IS NOT NULL;