From the query results, we can see that countries like Sudan, Guyana, Iran, Nicaragua, Guatemala, Gambia, and Philippines were suffering the most from the highest mortality rates (50-100%) during the February-March period of 2020.
So, interestingly, the worst Canada had was in the May-June period where its highest mortality rate from Covid was around 8.5%. Still not as bad as it was for some other countries round the world, thankfully.
Surprisingly, the most deaths it saw was in April of next year (2021). Even though the death percentage was around only 2%, over 23 thousand people died per day! We had to convert the ‘total_deaths’ column into INT here since its original data type was set as STRING, leading to erroneous results.
Now let’s take a look at Bangladesh, on the other side of the world, struggling from the same pandemic.
As expected, its worst mortality rate is much higher than Canada’s – 12.82% instead of 8.58%. They struggled with this the most around March-April period of 2020.
Luckily, it was around half of what it was in Canada – 11,000 daily deaths instead of 23,000. However, they both were around the same timeframe – April of 2021 – when possibly the second wave of Covid19 hit the world with its new variants.
As we can see here, first we had to ensure that the query is not regarding "World" or different continents to find the highest infection counts per country. After skipping them using the "NOT IN" clause, we found out that USA, India, and Brazil were the top three countries suffering from the highest infection counts.
Here we first transformed each column into the right numerical category (instead of String) to have a proper calculation. Specifically, we converted the columns into FLOAT because otherwise the death percentage would be less than 0.001 and result in a complete 0. After the appropriate calculation, we can see from the reuslt, that South America and North America suffered the most from mortality rate, based on their populations. To find this, we compared their maximum death count to their maximum recorded population from our dataset.