Dear Rahul,
thanks for your answer! When using a group by, I can use the count on number of students, but I can not show other attributes of classroom anymore.
Sample what i want to show:
classname - classnumber - teacher name - number of students
Attributes classname and classnumber comes from classroom entity
Attribute teacher name comes from teacher entity ( with or without join )
Attribute number of students should be derived from ClassroomStudents entities
Regards,
Kelvin