removed the too restrctive clause. will discuss again

This commit is contained in:
Antonis Lempesis 2021-11-11 12:57:19 +02:00 committed by Claudio Atzori
parent c1b6ae47cd
commit f0b523cfa7
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ FROM ${stats_db_name}.otherresearchproduct_topics;
CREATE TABLE ${stats_db_name}.result_organization AS
SELECT substr(r.target, 4) AS id, substr(r.source, 4) AS organization
FROM ${openaire_db_name}.relation r
WHERE r.reltype = 'resultOrganization' and r.relclass='hasAuthorInstitution' and r.subreltype='affiliation'
WHERE r.reltype = 'resultOrganization'
and r.datainfo.deletedbyinference = false;
CREATE TABLE ${stats_db_name}.result_projects AS