Database: cre_Students_Information_Systems
Question: Count the number of students who have a detention record.
SQL:
SELECT count(DISTINCT student_id) FROM Detention