SQL Cloud
SQL Cloud
In some cases, you might need to split a string. The following query uses
SUBSTRING_FUNCTION() to spilt a string where a space occurs. Run the following
query.
SELECT Region, SUM(Population) FROM world.country WHERE Region = 'Australia and New
Zealand' GROUP By Region ORDER By SUM(Population) desc;