I'm attempting the following problem:
The capital of Mexico is Mexico City. Show all the countries where the capital has the country together with the word "City". Find the country where the capital is the country plus "City".
And I was wondering why this query is correct:
SELECT name
FROM world
WHERE capital = CONCAT (name, ' city');
And yet this one isn't:
SELECT name
FROM world
WHERE capital = CONCAT (name, 'city');
Why does this instance of the CONCAT function require a space before 'city'?
