Get a list of unique values in a table
top of page

Get a list of unique values in a table

In an Access database you can easily get a list of the unique values in a column by running a SQL command.


  1. This table contains multiple entries for many city names:



2. To get a deduped list go to Create . . . Query Design, and select 'SQL View' at the left of the toolbar.


3. Enter the following SQL command:

SELECT DISTINCT Olympics.City

FROM Olympics


The command SELECT DISTINCT picks a field in a table, and then FROM pulls that field from a designated table.


4. Click Run, and a new query will be generated listing each value in the table only once:




Sean O'Shea has more than 20 years of experience in the litigation support field with major law firms in New York and San Francisco.   He is an ACEDS Certified eDiscovery Specialist and a Relativity Certified Administrator.

The views expressed in this blog are those of the owner and do not reflect the views or opinions of the owner’s employer.

If you have a question or comment about this blog, please make a submission using the form to the right. 

Your details were sent successfully!

© 2015 by Sean O'Shea . Proudly created with Wix.com

bottom of page