Skip to main content
Code To HaveN
Toggle navigation
Home
Categories
Online Judge
YouTube Tutorials
About
Search tutorials and solutions
Search
Categories
/
MySQL
/
As
Solved programming problem
Count the distinct no of countries from the locations table
Source code
Copy code
SELECT COUNT(DISTINCT COUNTRY_ID) AS "TOTAL" FROM locations;
Join the discussion
Add your comment
Your name
Comment
Post comment
Add your comment