Changes between Version 11 and Version 12 of LogicalModel


Ignore:
Timestamp:
01/15/26 20:19:53 (12 days ago)
Author:
216009
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LogicalModel

    v11 v12  
    66**University** (Id, Name, Location, IsPrivate)
    77
    8 **Faculty** (Id, University_Id*, Name, Location, Study_field)
     8**Faculty** (Id, University_Id* (University), Name, Location, Study_field)
    99
    10 **Professor** (Id, Faculty_Id*, Name, Surname, Age, Address)
     10**Professor** (Id, Faculty_Id* (Faculty), Name, Surname, Age)
    1111
    12 **Student** (Id, Faculty_Id*, Adviser_Id, Name, Surname, Location, Index)
     12**Student** (Id, Faculty_Id* (Faculty), Name, Surname, Location, Student_Index)
    1313
    14 **Subject** (Id, Faculty_Id*, Professor_Id*, Name, Semester, Credits)
     14**Subject** (Id, Faculty_Id* (Faculty), Name, Semester, Credits)
    1515
    16 **Student-Subject** (Student_Id*, Subject_Id*, Final_Grade, Status, Enrollment_Date, Absence_Count)
     16**Subject_Professor** (Subject_Id* (Subject), Professor_Id* (Professor))
     17
     18**Student_Subject** (Student_Id* (Student), Subject_Id* (Subject), Final_Grade, Status, Enrollment_Date, Absences_Count)
     19
     20
     21----
     22
     23
     24== DDL script for creating the database schema and objects:
     25[attachment:schema_creation.sql DDL script]
     26
     27== DML script for inserting data in the tables
     28[attachment:data_load.sql DML script]
     29
     30
     31== Relational diagram made in DBeaver
     32[[Image(relational_schema.jpg)]]
     33
     34= AI Usage for Relational Design
     35ChatGPT – OpenAI
     36URL: https://chat.openai.com/
     37
     38Type of subscription: Free online access (no paid subscription required)
     39
     40Note: This AI tool was selected to assist with database design and relational modeling based on a short survey of available AI tools. Its responses helped in structuring tables, foreign key constraints, and M:N relationships for this project.
     41
     42== Final Result
     43
     44== Tables
     45
     46**University** (Id, Name, Location, IsPrivate)
     47
     48**Faculty** (Id, University_Id* (University), Name, Location, Study_field)
     49
     50**Professor** (Id, Faculty_Id* (Faculty), Name, Surname, Age)
     51
     52**Student** (Id, Faculty_Id* (Faculty), Name, Surname, Location, Student_Index)
     53
     54**Subject** (Id, Faculty_Id* (Faculty), Name, Semester, Credits)
     55
     56**Subject_Professor** (Subject_Id* (Subject), Professor_Id* (Professor))
     57
     58**Student_Subject** (Student_Id* (Student), Subject_Id* (Subject), Final_Grade, Status, Enrollment_Date, Absences_Count)
     59
    1760
    1861
     
    3174
    3275
     76
     77