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.
This table contains multiple entries for many city names:
![](https://static.wixstatic.com/media/af7fa4_650f71debeed4ab8bc0b45f051737125~mv2.png/v1/fill/w_68,h_86,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/af7fa4_650f71debeed4ab8bc0b45f051737125~mv2.png)
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.
![](https://static.wixstatic.com/media/af7fa4_2b721cd01f4547a5a6dbb7c1010e6352~mv2.png/v1/fill/w_68,h_36,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/af7fa4_2b721cd01f4547a5a6dbb7c1010e6352~mv2.png)
4. Click Run, and a new query will be generated listing each value in the table only once:
![](https://static.wixstatic.com/media/af7fa4_54565dc62a9343bb814d485b25cfbb13~mv2.png/v1/fill/w_62,h_94,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/af7fa4_54565dc62a9343bb814d485b25cfbb13~mv2.png)