You can do a COUNT with the DISTINCT tag in it to accomplish this.
Example:
SELECT COUNT(DISTINCT results) FROM student;
SELECT COUNT(DISTINCT results) FROM student;
The count query is very useful in SQL. Below is the syntax:
SELECT COUNT(thefield) AS outputvariable FROM tablename GROUP BY thefield HAVING anyfield = yourvalue
This may also work the same for MYSQL.