active queries that use a specific table