MySQL SELECT DISTINCT
Remove duplicate values from your results with SELECT DISTINCT, and count the different values with COUNT(DISTINCT ...).
Lesson 12 of 38
Remove duplicate values from your results with SELECT DISTINCT, and count the different values with COUNT(DISTINCT ...).