fixed issue on changed query
This commit is contained in:
parent
aa5d58d510
commit
e3043ca57a
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue