I have a table, SingleCrossReference
containing a list of words in Japanese. I want to query this table, and for each record, count how many times that word string appears in a separate table, Keyword
. So essentially the query table I want to create would look like:
| SingleCrossReference.Word | Count(Keyword.Keyword) |
| Word 1 | 1 |
| Word 2 | 2 |
| Word 3 | 1 |
Also, the mechanism used to count words needs to be case-sensitive, as otherwise Access will consider two of the Japanese writing systems as the same and count them together.
I have a query that can evaluate a single record in the Keyword
table:
SELECT COUNT(Keyword.Keyword)
FROM Keyword
WHERE StrComp(Keyword.Keyword, "[Japanese word]", 0)=0
But I don't know how to link the two tables so that it counts the number of times a word from the SenseCrossReference
table appears in the Keyword
table.