Count of Records

Portucale

Registered User.
Local time
Today, 07:51
Joined
Sep 7, 2012
Messages
32
Hi,

I am looking to achieve a column within a query which gives me the count of records that are equal to a string in a different field, e.g.

Field1 Count
aaa21 3
aab01 2
aaa21 3
aaa21 3
aab01 2

Any help and all the help is very much appreciated.

Kind regards,
 
Select yourfield, count(yourfield) from yourtable group by yourfield
 
...that are equal to a string in a different field,

Huh? Please post sample starting data that demonstrates the results you have already posted. Include field and table names.
 

Users who are viewing this thread

Back
Top Bottom