Code has been added to clipboard!

Distinct Option to SQL Count

Example
SELECT COUNT(DISTINCT col_name) FROM tbl_name