Table view not filtering
-
HI,
I have a table view. see sql script below
CREATE ALGORITHM=UNDEFINED DEFINER=root@localhostSQL SECURITY DEFINER VIEWstudentenrollmentview8AS selects.student_idASstudent_id,s.student_firstnameASstudent_firstname,se.enrollment_idASenrollment_idfrom ((bz_sas_studentsleft joinbz_sas_classcon((s.student_id=c.student_id))) left joinbz_sas_student_enrollmentseon((c.enrollment_id=se.enrollment_id)))I have enrollment, student, class and grade table. My issue is when I create the enrollment/s and add student to the class table then move to the grade table upon selecting the student from my drop down select, I get the list of ALL students from the different enrollments. I think it should only display the student for that specific class and enrollment.. see below image. In this example only Billy, Jonathan and Larry suppose to appear.
https://snipboard.io/VGEuha.jpg
See below relationship
https://snipboard.io/uksSOq.jpg
Regards,
Ian
The topic ‘Table view not filtering’ is closed to new replies.