sad wrote:> select distinct a as F from table> union> select distinct b as F from table;>
Note that UNION only returns the unique values of the unionYou can get repeated values by using UNION ALL.
-- Edmund Bacon <ebacon(at)onesystem(dot)com>