Advanced count query - TechRepublic
Question
August 13, 2008 at 07:55 AM
jiminpa

Advanced count query

by jiminpa . Updated 17 years, 10 months ago

Hello all. I’m trying to figure out a way to run some type of query against my Access Database in which I can count the number of time a distinct string shows up.

I tried

select count(ColumnName) from tableName where ColumnName like %string%

Apparently you can’t do that. Can anyone offer some suggestions as to how I may accomplish this? I only need it to return a number.

This discussion is locked

All Comments