Changes between Version 24 and Version 25 of P2
- Timestamp:
- 06/25/26 15:15:25 (13 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
P2
v24 v25 8 8 9 9 == Tables 10 '''University''' ( Id, Name, Location, isprivate ) 10 11 11 **University** ( __Id__, Name, Location, isprivate)12 '''Faculty''' ( Id, University_Id* (University), Name, Location, Study_field ) 12 13 13 **Faculty** ( __Id__, __University_Id*__ (University), Name, Location, Study_field)14 '''Professor''' ( Id, Faculty_Id* (Faculty), Name, Surname, Age ) 14 15 15 **Professor** ( __Id__, __Faculty_Id*__ (Faculty), Name, Surname, Age)16 '''Student''' ( Id, Faculty_Id* (Faculty), Name, Surname, Location, Student_Index ) 16 17 17 **Student** ( __Id__, __Faculty_Id*__ (Faculty), Name, Surname, Location, Student_Index)18 '''Subject''' ( Id, Faculty_Id* (Faculty), Name, Semester, Credits ) 18 19 19 **Subject** ( __Id__, __Faculty_Id*__ (Faculty), Name, Semester, Credits)20 '''Student_Subject''' ( [Ss_Id, Student_Id* (Student), Subject_Id* (Subject)], Professor_Id* (Professor), Final_Grade, Status, Enrollment_Date, Absences_Count ) 20 21 21 **Student_Subject** ( __Ss_Id__, __Student_Id*__ (Student), __Subject_Id*__ (Subject), __Professor_Id*__ (Professor), Final_Grade, Status, Enrollment_Date, Absences_Count ) 22 '''Advice''' ( [Student_Id* (Student), Professor_Id* (Professor)], Start_Date, End_Date ) 23 24 '''Affiliated''' ( [University_Id* (University), Professor_Id* (Professor)]) 22 25 ---- 23 26 … … 31 34 32 35 == Relational diagram made in DBeaver 33 [[Image( Relational-schema1.png)]]36 [[Image(relational_schema.png)]] 34 37 35 38 = AI Usage for Relational Design = … … 42 45 43 46 Final result: I reviewed my initial core database schema with the AI assistant to identify potential gaps in tracking student-professor interactions and professor-university ties. Based on these discussions, I successfully refined my tables by designing and incorporating the Advice and Affiliated relation schemas. 44 45 == Final Result46 47 47 48 == Final Result … … 60 61 '''Student_Subject''' ( [Ss_Id, Student_Id* (Student), Subject_Id* (Subject)], Professor_Id* (Professor), Final_Grade, Status, Enrollment_Date, Absences_Count ) 61 62 62 63 64 63 '''Advice''' ( [Student_Id* (Student), Professor_Id* (Professor)], Start_Date, End_Date ) 65 64 66 65 '''Affiliated''' ( [University_Id* (University), Professor_Id* (Professor)] ) 67 68 69 70 66 71 67 ----
