Changes between Version 7 and Version 8 of UseCase2001Implementation


Ignore:
Timestamp:
09/09/26 13:14:49 (31 hours ago)
Author:
216009
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UseCase2001Implementation

    v7 v8  
    2020Professor inputs a target Subject ID from the displayed list.
    2121
    22 5. System lists all students currently enrolled in that chosen subject under this professor's instruction:
     225. System lists all students currently enrolled in that chosen subject under this professor's instruction (including the Ss_Id discriminator):
    2323{{{
    24 SELECT st.Id, st.Name, st.Surname
     24SELECT ss.Ss_Id, st.Id AS Student_Id, st.Name, st.Surname
    2525FROM Student st
    2626JOIN Student_Subject ss ON st.Id = ss.Student_Id
    2727WHERE ss.Subject_Id = ? AND ss.Professor_Id = ?;
    2828}}}
    29 Professor inputs the target Student ID.
     29Professor inputs the target Student ID and Ss_Id.
    3030
    31316. System prompts the professor to provide a valid final grade value (constrained between 6 and 10).
    32 7. System executes the parameterized SQL statement to persist the final grade and modify the completion status:
     327. System executes the parameterized SQL statement to persist the final grade using the full composite primary key and correct ENUM value:
    3333{{{
    3434UPDATE Student_Subject
    35 SET Final_Grade = ?, Status = 'PASSED'
    36 WHERE Student_Id = ? AND Subject_Id = ? AND Professor_Id = ?;
     35SET Final_Grade = ?, Status = 'Passed'
     36WHERE Student_Id = ? AND Subject_Id = ? AND Ss_Id = ?;
    3737}}}
    38388. System displays a confirmation text message indicating that the grade was successfully assigned.