-
-
Save toyeiei/a5a27da517ba0f6e5a92bdda9db3fddd to your computer and use it in GitHub Desktop.
SQL for Beginner - COUNT DISTINCT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- count only distinct country in table customers | |
SELECT COUNT(DISTINCT country) | |
FROM customers; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment