Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Incident Reports » Incident Reports Addressed for Version 4.49 » View Incident Report |
Serious |
Reported By: Walter Matte [Tactical Business Corporat Reported On: 3/4/2020 For: Version 4.48 Build 7 |
This join finds 1 student see M1Average, M2Average in output. left outer join Marks M1 on (M.StudentID = M1.StudentID) and (M.CourseID = M1.CourseID) and (1 = M1.TermID) left outer join Marks M2 on (M.StudentID = M2.StudentID) and (M.CourseID = M2.CourseID) and (2 = M2.TermID) Reorder the fields in join to match an index and it works. -- WORKS - All Students have M1Average, M2Average (as they should) -- I changes the order of -- from: on (M.StudentID = M1.StudentID) and (M.CourseID = M1.CourseID) -- to: on (M.CourseID = M1.CourseID) and (M.StudentID = M1.StudentID) left outer join Marks M1 on (M.CourseID = M1.CourseID) and (M.StudentID = M1.StudentID) and (1 = M1.TermID) left outer join Marks M2 on (M.CourseID = M2.CourseID) and (M.StudentID = M2.StudentID) and (2 = M2.TermID)
This web page was last updated on Wednesday, October 30, 2024 at 11:41 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |