Database: behavior_monitoring
Question: How many distinct students have been in detention?
SQL:
SELECT count(DISTINCT student_id) FROM Students_in_Detention