From e7276513ab9bd4a0785b655869b58e9bdde06790 Mon Sep 17 00:00:00 2001 From: warvolin Date: Sat, 21 Jan 2017 17:16:00 -0800 Subject: [PATCH] Updated answer --- 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'