I downloaded the latest vocabulary this weekend from Athena (http://athena.ohdsi.org/) and it does not seem to be distributing entries in the CONCEPT table referenced by VOCABULARY.vocabulary_concept_id. The following query comes up with all entries in the VOCABULARY table:
select *
from vocabulary v
where not exists(
select 1
from concept c
where v.vocabulary_concept_id = c.concept_id
)
Not sure what the problem is. Your query is trying to find those vocabularies that don’t have a equivalent Concept in the CONCEPT table. There aren’t any. Which is how it should be. All vocabs have a Concept for themselves.
Because none of following concepts are currently being included in the Athena download concept.csv (try it yourself right now, unless I am doing something wrong in how I am making a request in Athena );