Home select (a or b) as c from table;
 Is there a way to select A if A column exists else select B column? For a table A | B -----|----- foo | bar NULL | bar foo | NULL  Result would be C ---- foo bar foo  It seems there's no function supporting this in docs.