Jump to content

[SOLVED] return a name containing a string from table


hackypro

Recommended Posts

SELECT Continent, Region, COUNT(*)
FROM Country
WHERE Region LIKE '%Continent%'
GROUP BY Continent, Region;

 

is what i have. basically i need to return regions where the continent name is inside the region name. apparently need to use a MYSQL function here but i'm stumped

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.