How do I count distinctly in Access? -
i need have query count number of records , put count beside record represents. example:
turkey france turkey united states italy italy turkey france united states france italy italy
turns into:
country numberofvisits turkey 4 france 3 united states 2 italy 4
i can't seem countries show on own line in post
you need use group by
in sql statement, e.g.:
select country, count(*) numberofvisits countrytable group country
Comments
Post a Comment