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

BindTeacher

parent ee8265d3
No related merge requests found
......@@ -1007,7 +1007,16 @@ BEGIN
-- ORDER BY disciplines.ID DESC
-- LIMIT 1
-- );
RETURN ( LAST_INSERT_ID() );
SET checker = LAST_INSERT_ID();
INSERT INTO `disciplines_teachers`
( disciplines_teachers.DisciplineID,
disciplines_teachers.TeacherID )
VALUES ( checker, TeacherID );
RETURN checker;
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