I have following SQL Query related at the ER-Diagram shown in the image.
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');
How can I retrieve this information?
How many distinct theses and papers did persons currently affiliated with Austrian institutions publish? (return single count)
I always have the distinct theses, but how can i add to the count the distinct papers?