Using DISTINCT Clause

I have a Access table and I want to pull from that table one of each type and place it into a combo box using SQL. How can I do this?

The DISTINCT keyword on the SELECT statement insures that only distinct values will be selected from a particular field. Here is an example:

SELECT DISTINCT field_name FROM table_name WHERE criteria

Share the Post:
Share on facebook
Share on twitter
Share on linkedin


Recent Articles: