name PSQL subquery
This commit is contained in:
parent
7e06a09509
commit
975c275718
1 changed files with 1 additions and 1 deletions
|
@ -555,7 +555,7 @@ def get_variant_rating_progression():
|
||||||
" INNER JOIN variant_base_ratings"
|
" INNER JOIN variant_base_ratings"
|
||||||
" ON variants.id = variant_base_ratings.variant_id "
|
" ON variants.id = variant_base_ratings.variant_id "
|
||||||
" WHERE variants.rating_type = %s"
|
" WHERE variants.rating_type = %s"
|
||||||
") "
|
") AS t "
|
||||||
"ORDER BY rank",
|
"ORDER BY rank",
|
||||||
(rating_type, rating_type)
|
(rating_type, rating_type)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue