Attach Students to a student group in case of Multiple student groups

How can you attach students to multiple student group. Is there some thing like a tool where you can attach multiple student groups to a student? Or the only way is to manually add each student to a group by clicking on group then click on “Get students”?

Am using the following version:

ERPNext: v12.4.3 (version-12)

Frappe Framework: v12.2.1 (version-12)