From 6e785c5a11cece6763167af44d023c6fcfa6ee0c Mon Sep 17 00:00:00 2001 From: Apoorv Saxena <62635997+safierinx-a@users.noreply.github.com> Date: Tue, 25 Aug 2020 18:48:22 +0530 Subject: [PATCH] Fixed solution to #5 --- select-in-select.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select-in-select.sql b/select-in-select.sql index 1d06af6..e098241 100644 --- a/select-in-select.sql +++ b/select-in-select.sql @@ -48,7 +48,7 @@ Germany (population 80 million) has the largest population of the countries in E Show the name and the population of each country in Europe. Show the population as a percentage of the population of Germany. */ -SELECT name, CONCAT(ROUND(population/(SELECT population FROM world WHERE name = 'Germany'), 0), %) +SELECT name, CONCAT(ROUND(population/(SELECT population FROM world WHERE name = 'Germany') *100), '%') FROM world WHERE continent = 'Europe'