Find the id and last name of the teacher that has the most detentions with detention type code "AFTER"?
select t1.teacher_id, t2.last_name from detention as t1 join teachers as t2 on t1.teacher_id = t2.teacher_id where t1.detention_type_code = "AFTER" group by t1.teacher_id order by count(*) desc limit 1