Skip to main content
Code To HaveN
Toggle navigation
Home
Categories
Online Judge
YouTube Tutorials
About
Search tutorials and solutions
Search
Categories
/
MySQL
/
Group By
Solved programming problem
Show each region_id and corresponding no of countries in that region from countries table
Source code
Copy code
SELECT REGION_ID, COUNT(COUNTRY_ID) FROM countries GROUP BY REGION_ID;
Join the discussion
Add your comment
Your name
Comment
Post comment
Add your comment