Skip to content
Snippets Groups Projects
Commit a5e6e0d6 authored by PavelBegunkov's avatar PavelBegunkov
Browse files

...

parent 09ebbd29
Branches
Tags
No related merge requests found
......@@ -255,7 +255,7 @@ BEGIN
specializations.FacultyID AS 'FacultyID'
FROM `study_groups`
INNER JOIN `specializations` ON specializations.ID = study_groups.SpecializationID
WHERE study_groups.Grade = Grade AND
WHERE ( Grade = 0 OR study_groups.Grade = Grade ) AND
specializations.FacultyID = FacultyID
ORDER BY specializations.ID ASC, study_groups.Grade ASC, study_groups.GroupNum ASC;
END //
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment