Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -68,8 +68,8 @@ module.exports = function (dbo) { | ... | @@ -68,8 +68,8 @@ module.exports = function (dbo) { |
| 68 | , summ as ( | 68 | , summ as ( |
| 69 | select country_name, today, sum(confirmed_count) confirmed_sum, sum(increase) increase | 69 | select country_name, today, sum(confirmed_count) confirmed_sum, sum(increase) increase |
| 70 | from rpt | 70 | from rpt |
| 71 | - group by 1,2 | ||
| 72 | where province != '中国' | 71 | where province != '中国' |
| 72 | + group by 1,2 | ||
| 73 | order by country_name, confirmed_sum desc | 73 | order by country_name, confirmed_sum desc |
| 74 | ) | 74 | ) |
| 75 | select country_name, province, max(confirmed_count) max_count, jsonb_agg(today order by today) days, jsonb_agg(confirmed_count order by today) confirmed_counts, | 75 | select country_name, province, max(confirmed_count) max_count, jsonb_agg(today order by today) days, jsonb_agg(confirmed_count order by today) confirmed_counts, | ... | ... |
-
Please register or login to post a comment