Query all tags present in notes under a root folder

Not quite a table, but the same info could be presented as an embedded search:

~~~query
path:"example/folder/" (tag:contact OR tag:idea OR tag:problem OR tag:resource)
~~~