访问:统计一个项目被使用了多少次

Access: count how many time an item is used

我有两个 table:

table Consent Archiving 是独特项目的列表。

tableTable1是n行与Consent Archiving的1项的关联。

我希望在 Consent ArchivingCount 列中有某个项目在 Table1 中重复的次数。

构建查询,看起来像提到的 table,不是更好的选择吗?如果是这样,则在 Table1 上构建它,只需为 "Consent Archiving" 添加带有计数(*)函数的 group by 子句。