create a Query where I can get the total of events with the same Style.

H

Hector Codoceo

Hello,
I need help with the following problem, please!

I have a table called "JOURNALS" with two fields "Journal"
and "Style". I need to create a Query where I can get the
total of Journals with the same Style.
- It's 1 Style per journal.
- Many Journals with the same Style.
- Both data type are Text

Style Journals
---------------
acs 11 <-----there are 11 journals with the acs style

How can I do that?
Please, Help.
Thanks.
Hector
 
E

Ed

-----Original Message-----
Hello,
I need help with the following problem, please!

I have a table called "JOURNALS" with two fields "Journal"
and "Style". I need to create a Query where I can get the
total of Journals with the same Style.
- It's 1 Style per journal.
- Many Journals with the same Style.
- Both data type are Text

Style Journals
---------------
acs 11 <-----there are 11 journals with the acs style

How can I do that?
Please, Help.
Thanks.
Hector
. Try this.
SELECT [tbl journals].Style, Count([tbl
journals].Journal) AS CountOfJournal
FROM [tbl journals]
GROUP BY [tbl journals].Style
HAVING ((([tbl journals].Style)="ACS"));
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top