-- Code Here SELECT d.city_name kota, SUM(c.confirmed_cases) confirmed_cases, SUM(c.recovered_cases) recovered_cases, SUM(c.death_cases) death_cases FROM cases c, dati d WHERE c.dati_code = d.code GROUP BY d.city_name ORDER BY confirmed_cases DESC;
- --- Code Here
- -- Code Here
- SELECT
- d.city_name kota,
- SUM(c.confirmed_cases) confirmed_cases,
- SUM(c.recovered_cases) recovered_cases,
- SUM(c.death_cases) death_cases
- FROM cases c, dati d
- WHERE c.dati_code = d.code
- GROUP BY d.city_name
- ORDER BY confirmed_cases DESC;