From ac486f945a0134958822d13682433f8a03d125f5 Mon Sep 17 00:00:00 2001 From: Apoorv Saxena <62635997+safierinx-a@users.noreply.github.com> Date: Fri, 2 Oct 2020 16:26:58 +0530 Subject: [PATCH] Update select-in-select.sql --- 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..d81ca25 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, 0), FROM world WHERE continent = 'Europe'