If i have a master-detail relationship with a "Classroom" and a "Student" Object. Say the master object is a classroom and the child objects are students. How do i aggregate a list of the student's names in apex given the following model?
- Phone number
Would one just utilize soql? Or just a trigger and update a field record?
I would like to aggregate the students names into a list for an email alert.