How many distinct students have been in detention?
CREATE TABLE Students_in_Detention (student_id VARCHAR)
SELECT COUNT(DISTINCT student_id) FROM Students_in_Detention
### Context: CREATE TABLE Students_in_Detention (student_id VARCHAR) ### Question: How many distinct students have been in detention? ### Answer: SELECT COUNT(DISTINCT student_id) FROM Students_in_Detention