From edba827205b2b1a9bf9aa0c1402368049b688266 Mon Sep 17 00:00:00 2001 From: NineC067 <63802575+NineC067@users.noreply.github.com> Date: Fri, 3 Jul 2020 22:20:22 -0400 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..1c923c9 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'