mirror of
https://github.com/opelly27/WinStudentGoalTracker.git
synced 2026-05-20 04:07:39 +00:00
lots of work done
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
DELIMITER ;;
|
||||
CREATE DEFINER=`root`@`%` PROCEDURE `sp_Goal_GetByStudentId`(IN p_id_student CHAR(36))
|
||||
BEGIN
|
||||
SELECT
|
||||
s.`identifier` AS `studentIdentifier`,
|
||||
vc.`goalId`,
|
||||
vc.`goalParentId`,
|
||||
vc.`title`,
|
||||
vc.`description`,
|
||||
vc.`category`,
|
||||
vc.`progressEventCount`
|
||||
FROM `v_goal_card` vc
|
||||
INNER JOIN `student` s ON s.`id_student` = vc.`studentId`
|
||||
WHERE vc.`studentId` = p_id_student
|
||||
ORDER BY vc.`goalId`;
|
||||
END;;
|
||||
DELIMITER ;
|
||||
Reference in New Issue
Block a user