when does the datetime detention end | What did you mean by the datetime detention end? Do you want a list of all the datetime detention end or a specific one? | for detention id 1
select datetime_detention_end from detention where detention_id  =  1
detention id 1 refers to detention_id = 1; datetime detention end refers to datetime_detention_end;