Link to home
Create AccountLog in
Avatar of al4629740
al4629740Flag for United States of America

asked on

Select only unique records not duplicates

I am using VB6.  How do I write an sql statement that selects only unique records from my column named city?

Table = Illinois
ColumnName= City
ASKER CERTIFIED SOLUTION
Avatar of Jorge Paulino
Jorge Paulino
Flag of Portugal image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Try the following;-

select distinct city from illinois