When using SQL Server in SQL Zoo, do not use CONCAT :
I think SQL Zoo uses a version of SQL Server that does not support CONCAT , and what's more, it looks like you need to do CAST . Instead, combine using the "+". Also see this post .
I believe that the script should be something like below (although I did not get it at will, because I want the result to look like 3%; 0%; 4%, etc. instead of 3.000000000000000% ; 0.000000000000000%; 4.000000000000000%, etc. And I am starting a new topic for this here ).
SELECT name, CAST(ROUND(population*100/(SELECT population FROM world WHERE name='Germany'), 0) as varchar(20)) +'%' FROM world WHERE population IN (SELECT population FROM world WHERE continent='Europe')
source share