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

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -