fixed issue on changed query

This commit is contained in:
Miriam Baglioni 2023-05-08 16:49:09 +02:00
parent aa5d58d510
commit e3043ca57a
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@
"source": [
"query=\"\"\"SELECT CONCAT_WS(' - ', IF(SIZE(funding.shortName) > 0, ARRAY_JOIN(funding.shortName, ',', '-'), '-'), COALESCE(code, '-'), SUBSTRING(title, 0, 50)) AS project,\n",
" COUNT(*) AS count \n",
"FROM projects JOIN relations ON projects.id = relations.source.id AND reltype.name = 'produces' AND not project ilike '%unidentified%' \n",
"FROM projects JOIN relations ON projects.id = relations.source.id AND reltype.name = 'produces' AND not projects.title ilike '%unidentified%' \n",
"GROUP BY project \n",
"ORDER BY count DESC\"\"\"\n",
"\n",