list distinct values from multiple fields

pbuethe

Returning User
Local time
Today, 18:10
Joined
Apr 9, 2002
Messages
210
I have 4 status fields in one table. I was wondering if there is a way to list every different value from all 4 fields in one column. Thanks for your help.
 
You can pull the four fields together in a Union query:-

Select [Field1] as [Distinct Values] from [tableName]
UNION
Select [Field2] from [tableName]
UNION
Select [Field3] from [tableName]
UNION
Select [Field4] from [tableName]
 
Thanks EMP. It appears to work.
 

Users who are viewing this thread

Back
Top Bottom