Changes between Version 9 and Version 10 of WikiStart/UseCaseModel/ImportantUseCase5
- Timestamp:
- 02/20/24 20:08:20 (11 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart/UseCaseModel/ImportantUseCase5
v9 v10 26 26 27 27 {{{ 28 DECLARE correct_student_id INT;29 SET correct_student_id = 11111;30 28 31 29 SELECT … … 47 45 AND sat.starting_year = sbe.starting_year 48 46 AND sat.finishing_year = sbe.finishing_year 49 AND sat.student_id = sbe.student_id -- Fixed alias from se to sbe47 AND sat.student_id = sbe.student_id 50 48 WHERE 51 49 nre.event_date >= CURRENT_DATE 52 50 AND ce.event_type = 'Exam' 53 AND sbe.student_id = correct_student_id51 AND sbe.student_id = 11111 54 52 ORDER BY 55 53 nre.event_date, … … 73 71 {{{ 74 72 --Листање на сите предмети кои студентот ги има запишано 75 DECLARE correct_student_id INT;76 SET correct_student_id = 11111;77 73 78 74 SELECT … … 84 80 subject_at_term 85 81 WHERE 86 student_id = correct_student_id82 student_id = 11111 87 83 ORDER BY 88 84 finishing_year DESC; 85 89 86 --Листање на сите места внесени од студентот 90 DECLARE correct_student_id INT;91 SET correct_student_id = 11111;92 87 93 88 SELECT … … 104 99 ON sje.calendar_event_id = ce.calendar_event_id 105 100 WHERE 106 se.student_id = correct_student_id107 OR sje.student_id = correct_student_id101 se.student_id = 11111 102 OR sje.student_id = 11111 108 103 109 104 }}}