我在图像中显示的 ER 图中有以下相关的 SQL 查询。
Select count(distinct(tkey)) as fromAustria
from theses
where ikey in (select ikey
from institutions
right join countries on institutions.cokey = countries.cokey
where countries.name = 'Austria');
我怎样才能检索到这些信息?
目前隶属于奥地利机构的人发表了多少不同的论文和论文?(返回单数)
我总是有不同的论文,但我怎样才能把不同的论文加到计数中呢?