i need help on what sql query to use to populate a list view:
I have the following tables:
1)Subjects
2)Departments
3)Semesters
4)SubjectsDepartments junction table ( since there exists a many to many relationship between Subjects and Departments
5)SubjectsSemesters junction table( since there exists a many to many relationship between Subjects and Semesters)

In vb.net front end, there are two combo boxes and one listview. First combo box is to select the semester and a second combo box to select the department. Using the values in these two combo boxes, i want to populate a listview with subject names. I know how to populate the comboboxes but i dont know how to write the sql query to get the subject names as it involves many tables. please help.

I have the following tables:
1)Subjects
2)Departments
3)Semesters
4)SubjectsDepartments junction table ( since there exists a many to many relationship between Subjects and Departments
5)SubjectsSemesters junction table( since there exists a many to many relationship between Subjects and Semesters)

In vb.net front end, there are two combo boxes and one listview. First combo box is to select the semester and a second combo box to select the department. Using the values in these two combo boxes, i want to populate a listview with subject names. I know how to populate the comboboxes but i dont know how to write the sql query to get the subject names as it involves many tables. please help.
