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