hackypro Posted November 10, 2008 Share Posted November 10, 2008 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 Link to comment https://forums.phpfreaks.com/topic/132192-solved-return-a-name-containing-a-string-from-table/ Share on other sites More sharing options...
Barand Posted November 10, 2008 Share Posted November 10, 2008 WHERE INSTR(region, continent) Link to comment https://forums.phpfreaks.com/topic/132192-solved-return-a-name-containing-a-string-from-table/#findComment-687073 Share on other sites More sharing options...
hackypro Posted November 13, 2008 Author Share Posted November 13, 2008 AWESOME I LOVE YOU Link to comment https://forums.phpfreaks.com/topic/132192-solved-return-a-name-containing-a-string-from-table/#findComment-689027 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.