1
Late to the party and many good songs have already been played. But I bring some more good ones:
Shortest
SELECT DISTINCT n FROM observations, unnest(ARRAY[a,b,c,d]) n;
However, a less verbose version of Andriy's idea is not much longer, but more elegant and faster.
For many distinct / few du...