-
Notifications
You must be signed in to change notification settings - Fork 4
Normalization & Finalization
The Student Management System (SMS) is a comprehensive solution designed to streamline the management of student-related information, academic courses, faculty records, and administrative processes within educational institutions. This document presents a detailed Entity-Relationship (ER) diagram and a meticulously crafted database design that encapsulates the SMS's data architecture. By depicting the relationships between entities and attributes, this design ensures robustness, data integrity, and optimized query performance.
![](https://private-user-images.githubusercontent.com/133691757/257957405-aa07baa3-9065-4ba2-b95b-f21ccd7ca338.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3ODEyNTUsIm5iZiI6MTcyNDc4MDk1NSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU3NDA1LWFhMDdiYWEzLTkwNjUtNGJhMi1iOTViLWYyMWNjZDdjYTMzOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzQ5MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lYmFkODdhNjdlMjk3YWM0YmExNzI4Zjg2MWIyOGQ3NDE3MjEzZjdjYWI4NzE2Y2U3ZDg3ZWJlMDA4NGE5MTIyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Zn9qVghCeEJeEddw0stnILYiqrb6qhQErYxRv-17Jfg)
Figure 1: ER Diagram illustrating the Student Management System's data model.
![](https://private-user-images.githubusercontent.com/133691757/257957158-f20997de-ce27-4619-8d53-d885e81a9121.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3ODEyNTUsIm5iZiI6MTcyNDc4MDk1NSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU3MTU4LWYyMDk5N2RlLWNlMjctNDYxOS04ZDUzLWQ4ODVlODFhOTEyMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzQ5MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01OTM1ZmZlYjYyNGFjNmFiYWIxYzgyODUyNzEyMDQ3NDRkYmRiMDk2N2IwZWEwNTA2NTg4MTQ5NDFlNmQzNWQ5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.gsuZgNe78FkSN1a7ix_xSL6XW61ewkERhAh2l28f0zA)
Figure 2: Unnormalized and Normalized Forms of the "Assigns" Table.
- Unnormalized Form: P_ID(PK), P_name, P_duration, P_type, D_ID(PK), D_name, D_head
- 1NF: P_ID(PK), P_name, P_duration, P_type, D_ID(PK), D_name, D_head
-
2NF:
- P_ID(PK), P_name, P_duration, P_type
- D_ID(PK), D_name, D_head
- P_ID(PK), D_ID(FK)
- 3NF: Same as 2NF
- Tables:
- P_ID(PK), P_name, P_duration, P_type
- D_ID(PK), D_name, D_head
- P_ID(PK), D_ID(FK)
![](https://private-user-images.githubusercontent.com/133691757/257956696-f454bcf0-344b-469e-a887-845251330f36.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3ODEyNTUsIm5iZiI6MTcyNDc4MDk1NSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU2Njk2LWY0NTRiY2YwLTM0NGItNDY5ZS1hODg3LTg0NTI1MTMzMGYzNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzQ5MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yMWM2NGMzYjM4Yzg5ZDQ3Yjg3NDA2ZWQ0ODhhNDFjNzc2NTdhNDBhZGM3YjRlZDM3YzA3MzJhYjI1NzM0OTM1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.6syj1YPv6clR-_OKY7hMBYHkDPLoepWVr_ws6xdUSZI)
Figure 3: Unnormalized and Normalized Forms of the "Conducts" Table.
- Unnormalized Form: D_ID(PK), D_name, D_head, E_ID(PK), E_Date, E_type, E_roomno, Mark
- 1NF: D_ID(PK), D_name, D_head, E_ID(PK), E_Date, E_type, E_roomno, Mark
-
2NF:
- D_ID(PK), D_name, D_head
- E_ID(PK), E_Date, E_type, E_roomno, Mark, D_ID(FK)
- 3NF: Same as 2NF
- Tables:
- D_ID(PK), D_name, D_head
- E_ID(PK), E_Date, E_type, E_roomno, Mark, D_ID(FK)
![](https://private-user-images.githubusercontent.com/133691757/257956738-43aeee54-af79-44c7-b50c-3898f5f12dc7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3ODEyNTUsIm5iZiI6MTcyNDc4MDk1NSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU2NzM4LTQzYWVlZTU0LWFmNzktNDRjNy1iNTBjLTM4OThmNWYxMmRjNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzQ5MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03NGFhZDBhMWRhMGEzY2VhNTA0ODdiM2Q3MTQ3OWU1MTQ2MDYzYTgxMzdmM2RlM2QzODQ0Mjg1YmZjMWQwMjlkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.aZXEp4fxzcSlvHSLXpmpkdTwKRR8cDX3B8p6w8ZXJfc)
Figure 4: Unnormalized and Normalized Forms of the "Sits" Table.
- Unnormalized Form: S_ID(PK), S_name, S_contact, S_mail, EnrollYear, E_ID(PK), E_Date, E_type, E_roomno, Mark
- 1NF: S_ID(PK), S_name, S_contact, S_mail, EnrollYear, E_ID(PK), E_Date, E_type, E_roomno, Mark
-
2NF:
- S_ID(PK), S_name, S_contact, S_mail, EnrollYear
- E_ID(PK), E_Date, E_type, E_roomno, Mark
- S_ID(PK), E_ID(FK)
- 3NF: Same as 2NF
- Tables:
- S_ID(PK), S_name, S_contact, S_mail, EnrollYear
- E_ID(PK), E_Date, E_type, E_roomno, Mark
- S_ID(PK), E_ID(FK)
![](https://private-user-images.githubusercontent.com/133691757/257956126-40f380c1-a0a0-4026-bdaf-d988add6a5a5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3ODEyNTUsIm5iZiI6MTcyNDc4MDk1NSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU2MTI2LTQwZjM4MGMxLWEwYTAtNDAyNi1iZGFmLWQ5ODhhZGQ2YTVhNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzQ5MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02MDgxZTVhNDhlNGYwYzY3MzljZjFjNDUwNzlhNmQ3Mzk2MjBiM2I3ZDcyMzUwZWIzZjdhYWMwNDEwZmFhMzYyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.AWDc9FakduVh-PEnaC8p5sSQOB56IxcSSk8glP2Tkls)
Figure 5: Unnormalized and Normalized Forms of the "Teaches" Table.
- Unnormalized Form: F_ID(PK), F_name, F_contact, F_mail, S_ID(PK), S_name, S_contact, S_mail, EnrollYear
- 1NF: F_ID(PK), F_name, F_contact, F_mail, S_ID(PK), S_name, S_contact, S_mail, EnrollYear
-
2NF:
- S_ID(PK), S_name, S_contact, S_mail, EnrollYear, F_ID(FK)
- F_ID(PK), F_name, F_contact, F_mail
- 3NF: Same as 2NF
- Tables:
- S_ID(PK), S_name, S_contact, S_mail, EnrollYear, F_ID(FK)
- F_ID(PK), F_name, F_contact, F_mail
![](https://private-user-images.githubusercontent.com/133691757/257957080-f46373b5-c45a-4e96-a201-5cd99ab7b675.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3ODEyNTUsIm5iZiI6MTcyNDc4MDk1NSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU3MDgwLWY0NjM3M2I1LWM0NWEtNGU5Ni1hMjAxLTVjZDk5YWI3YjY3NS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzQ5MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zYjk0M2VlNTE5ZjQ1YjQyMjcyNjIyNmM3YjNiNDM3YjZkMmI0YWVkNTkyYjI4ZjlkMzk2YmExZTA0MjMzYjYzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.A9Uoi7o24tAJBr8oyvwugSpRW7o-ILfRYBWOolpcQIo)
Figure 6: Unnormalized and Normalized Forms of the "Attends" Table.
- Unnormalized Form: S_ID(PK), S_name, S_contact, S_mail, EnrollYear, Cl_roomno(PK), Cl_time, Cl_name
- 1NF: S_ID(PK), S_name, S_contact, S_mail, EnrollYear, Cl_roomno(PK), Cl_time, Cl_name
-
2NF:
- S_ID(PK), S_name, S_contact, S_mail, EnrollYear
- Cl_roomno(PK), Cl_time, Cl_name
- S_ID(PK), Cl_roomno(FK)
- 3NF: Same as 2NF
- Tables:
- S_ID(PK), S_name, S_contact, S_mail, EnrollYear
- Cl_roomno(PK), Cl_time, Cl_name
- S_ID(PK), Cl_roomno(FK)
![](https://private-user-images.githubusercontent.com/133691757/257957320-8c272be5-3ed9-4c24-8db2-cd0600cee53e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3ODEyNTUsIm5iZiI6MTcyNDc4MDk1NSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU3MzIwLThjMjcyYmU1LTNlZDktNGMyNC04ZGIyLWNkMDYwMGNlZTUzZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzQ5MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yNmI5ZDM0NTI1MjA4OWU3MzhlM2IwZGYzMzgwYWU2MDEyOWZiOTBmYjJiZDllMjZkNWM0MjE1OGNlMmQwODg3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.4eKddy4bV40TldRDCIFp5uquj2rGZj77mjYHBV5IkWU)
Figure 7: Unnormalized and Normalized Forms of the "Enrolls" Table.
- Unnormalized Form: S_ID(PK), S_name, S_contact, S_mail, EnrollYear, P_ID(PK), P_name, P_duration, P_type
- 1NF: S_ID(PK), S_name, S_contact, S_mail, EnrollYear, P_ID(PK), P_name, P_duration, P_type
-
2NF:
- S_ID(PK), S_name, S_contact, S_mail, EnrollYear
- P_ID(PK), P_name, P_duration, P_type
- S_ID(PK), P_ID(FK)
- Tables:
- S_ID(PK), S_name, S_contact, S_mail, EnrollYear
- P_ID(PK), P_name, P_duration, P_type
- S_ID(PK), P_ID(FK)
![](https://private-user-images.githubusercontent.com/133691757/257956639-5a2f84cc-80cc-4b3d-92bb-7d18f04a4ec0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3ODEyNTUsIm5iZiI6MTcyNDc4MDk1NSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU2NjM5LTVhMmY4NGNjLTgwY2MtNGIzZC05MmJiLTdkMThmMDRhNGVjMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzQ5MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04OTZhZDJlOTgxNDEwZDc2ZWQ3M2JkODc2ZDAwZWY2OWI2MjRiODdmNDUwYzc5ODcwODFmNDhkOWVhZmFjMGMxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.cb8P079ULw-FKwfgedCff5SDpV9mCRXDz1omjZVBIZo)
Figure 8: Unnormalized and Normalized Forms of the "Takes" Table.
- Unnormalized Form: S_ID(PK), S_name, S_contact, S_mail, EnrollYear, C_ID(PK), C_name, C_duration, C_credit
- 1NF: S_ID(PK), S_name, S_contact, S_mail, EnrollYear, C_ID(PK), C_name, C_duration, C_credit
-
2NF:
- S_ID(PK), S_name, S_contact, S_mail, EnrollYear
- C_ID(PK), C_name, C_duration, C_credit
- S_ID(PK), C_ID(FK)
- 3NF: Same as 2NF
- Tables:
- S_ID(PK), S_name, S_contact, S_mail, EnrollYear
- C_ID(PK), C_name, C_duration, C_credit
- S_ID(PK), C_ID(FK)
![](https://private-user-images.githubusercontent.com/133691757/257956343-2542a3ae-64a2-4c38-b4c5-6f989d036a3d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3ODEyNTUsIm5iZiI6MTcyNDc4MDk1NSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU2MzQzLTI1NDJhM2FlLTY0YTItNGMzOC1iNGM1LTZmOTg5ZDAzNmEzZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzQ5MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mMGRjNjE4NDY3ZjFmNWFmYmU5NzliN2U4MDIzZjYzYWQ3MWJkZWIwOTYzMzVjYmI5YmYyN2UyOWU5OWIyZDc4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.U5NQr9pbu1NKcdpusRf-gowuHxl-tJl7zAP8Ae7AP0s)
Figure 9: Unnormalized and Normalized Forms of the "Chooses" Table.
- Unnormalized Form: F_ID(PK), F_name, F_contact, F_mail, C_ID(PK), C_name, C_duration, C_credit
- 1NF: F_ID(PK), F_name, F_contact, F_mail, C_ID(PK), C_name, C_duration, C_credit
-
2NF:
- F_ID(PK), F_name, F_contact, F_mail
- C_ID(PK), C_name, C_duration, C_credit
- F_ID(PK), C_ID(FK)
- 3NF: Same as 2NF
- Tables:
- F_ID(PK), F_name, F_contact, F_mail
- C_ID(PK), C_name, C_duration, C_credit
- F_ID(PK), C_ID(FK)
![](https://private-user-images.githubusercontent.com/133691757/257956197-5e72ea2b-2504-43a9-b7ad-1342121f00a4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3ODEyNTUsIm5iZiI6MTcyNDc4MDk1NSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU2MTk3LTVlNzJlYTJiLTI1MDQtNDNhOS1iN2FkLTEzNDIxMjFmMDBhNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzQ5MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03MGNlMThiMDY5OTAzMTBjZjM3NTVjZjhjNzA5NWIwYjg3OTJjZjhkMTAyYTExOTQxY2Y0ZWY5MGFiNTVhZWM5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.JNu-Yo0bAJnPbmvROI8tZz7LU3cwydmI7M_04cofHZU)
Figure 10: Unnormalized and Normalized Forms of the "Has" Table.
- Unnormalized Form: C_ID(PK), C_name, C_duration, C_credit, E_ID(PK), E_date, E_type, E_roomno, Mark
- 1NF: C_ID(PK), C_name, C_duration, C_credit, E_ID(PK), E_date, E_type, E_roomno, Mark
-
2NF:
- C_ID(PK), C_name, C_duration, C_credit
- E_ID(PK), E_date, E_type, E_roomno, Mark, C_ID(FK)
- 3NF: Same as 2NF
- Tables:
- C_ID(PK), C_name, C_duration, C_credit
- E_ID(PK), E_date, E_type, E_roomno, Mark, C_ID(FK)
![](https://private-user-images.githubusercontent.com/133691757/257956585-07ac9428-28c7-4a07-81a4-cf60013f9277.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3ODEyNTUsIm5iZiI6MTcyNDc4MDk1NSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU2NTg1LTA3YWM5NDI4LTI4YzctNGEwNy04MWE0LWNmNjAwMTNmOTI3Ny5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzQ5MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iOGZlYTc2OGYyNWU1ZjI2M2MyMTczNmEzZjk3NzJhNmNmY2I2OGIwNDEwNmJkNGVhYzBiYzc4OTk4NTQwOTVmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.SQZTacMcM7FysM6nbPSvWu2oM8ANvk2DqI4RqGR0SA4)
Figure 11: Unnormalized and Normalized Forms of the "Offers" Table.
- Unnormalized Form: D_ID(PK), D_name, D_head, F_ID(PK), F_name, F_contact, F_mail, C_ID(FK), C_name, C_duration, C_credit
- 1NF: D_ID(PK), D_name, D_head, F_ID(PK), F_name, F_contact, F_mail, C_ID(FK), C_name, C_duration, C_credit
-
2NF:
- D_ID(PK), D_name, D_head
- F_ID(PK), F_name, F_contact, F_mail, C_ID(FK), C_name, C_duration, C_credit, D_ID(FK)
- 3NF: Same as 2NF
- Tables:
- D_ID(PK), D_name, D_head
- F_ID(PK), F_name, F_contact, F_mail, C_ID(FK), C_name, C_duration, C_credit, D_ID(FK)
![](https://private-user-images.githubusercontent.com/133691757/257956398-424df486-4a52-4f43-9015-1ee6be54c8ab.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3ODEyNTUsIm5iZiI6MTcyNDc4MDk1NSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU2Mzk4LTQyNGRmNDg2LTRhNTItNGY0My05MDE1LTFlZTZiZTU0YzhhYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzQ5MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wMGRiYTllN2MyOGQ3MWE3ZTg0NGE0NGI3MzUwMjA5NzJjNDliYTRjNmJhY2QzZmQ0NjI5NTlkNzBjODg0ZTRiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.D6eC1On1KaWs6OD2asT5zfovVH70wDvzqG6J6Rqx49U)
Figure 12: Unnormalized and Normalized Forms of the "Observes" Table.
- Unnormalized Form: D_ID(PK), D_name, D_head, A_mail(PK), A_name, A_role, A_contact
- 1NF: D_ID(PK), D_name, D_head, A_mail(PK), A_name, A_role, A_contact
-
2NF:
- D_ID(PK), D_name, D_head, A_mail(FK)
- A_mail(PK), A_name, A_role, A_contact
- 3NF: Same as 2NF
- Tables:
- D_ID(PK), D_name, D_head, A_mail(FK)
- A_mail(PK), A_name, A_role, A_contact
![](https://private-user-images.githubusercontent.com/133691757/258171302-14f32d16-5bbe-48f8-9340-2bb927367b39.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3ODEyNTUsIm5iZiI6MTcyNDc4MDk1NSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU4MTcxMzAyLTE0ZjMyZDE2LTViYmUtNDhmOC05MzQwLTJiYjkyNzM2N2IzOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzQ5MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xMDdlODgxMzE5YTkzZWY1NDY1YmZhMmRkYzhiMTMzYzk3OWI1ODllNzU0MDJjYmM2ZmZlYzU1MzQxNmRmZTc2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.I4FWUaUQrBDKAqwanf9Jm9PzY_lhCHq4p4_pfPyMncw)
Figure 13: Unnormalized and Normalized Forms of the "Gets" Table.
- Unnormalized Form: S_ID(PK), S_name, S_contact, S_mail, EnrollYear, G_ID(PK), CGPA, Semester, Sem_year
- 1NF: S_ID(PK), S_name, S_contact, S_mail, EnrollYear, G_ID(PK), CGPA, Semester, Sem_year
-
2NF:
- S_ID(PK), S_name, S_contact, S_mail, EnrollYear, G_ID(FK)
- G_ID(PK), CGPA, Semester, Sem_year
- 3NF: Same as 2NF
- Tables:
- S_ID(PK), S_name, S_contact, S_mail, EnrollYear, G_ID(FK)
- G_ID(PK), CGPA, Semester, Sem_year
![](https://private-user-images.githubusercontent.com/133691757/257956817-b5380d6c-ea48-41d7-aa1d-83f3a0ee7d6b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3ODEyNTUsIm5iZiI6MTcyNDc4MDk1NSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU2ODE3LWI1MzgwZDZjLWVhNDgtNDFkNy1hYTFkLTgzZjNhMGVlN2Q2Yi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzQ5MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hMzNkMGE0NWZiZmFhNWQ4YTNkM2VhNGY1MjllOTBmMDJkYmRjNDE5Y2U5ZmYwZWM1ZTAwNTgzNzA3ZjcwZWM3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.JZCTbWbS9TpYCCMj5Pd5X85xIqlxFGM6235u6siejEk)
Figure 13: Unnormalized and Normalized Forms of the "Submits" Table.
- Unnormalized Form: F_ID(PK), F_name, F_contact, F_mail, G_ID(PK), CGPA, Semester, Sem_year
- 1NF: F_ID(PK), F_name, F_contact, F_mail, G_ID(PK), CGPA, Semester, Sem_year
-
2NF:
- F_ID(PK), F_name, F_contact, F_mail
- G_ID(PK), CGPA, Semester, Sem_year, F_ID(FK)
- 3NF: Same as 2NF
- Tables:
- F_ID(PK), F_name, F_contact, F_mail
- G_ID(PK), CGPA, Semester, Sem_year, F_ID(FK)
- P_ID(PK), P_name, P_duration, P_type
- D_ID(PK), D_name, D_head
- P_ID(PK), D_ID(FK)
D_ID(PK), D_name, D_head
- E_ID(PK), E_Date, E_type, E_roomno, Mark, D_ID(FK)
- S_ID(PK), S_name, S_contact, S_mail, EnrollYear
- E_ID(PK), E_Date, E_type, E_roomno, Mark
- S_ID(PK), E_ID(FK)
- S_ID(PK), S_name, S_contact, S_mail, EnrollYear, F_ID(FK)
- F_ID(PK), F_name, F_contact, F_mail
S_ID(PK), S_name, S_contact, S_mail, EnrollYear
- Cl_roomno(PK), Cl_time, Cl_name
- S_ID(PK), Cl_roomno(FK)
S_ID(PK), S_name, S_contact, S_mail, EnrollYearP_ID(PK), P_name, P_duration, P_type
- S_ID(PK), P_ID(FK)
S_ID(PK), S_name, S_contact, S_mail, EnrollYear
- C_ID(PK), C_name, C_duration, C_credit
- S_ID(PK), C_ID(FK)
F_ID(PK), F_name, F_contact, F_mailC_ID(PK), C_name, C_duration, C_credit
- F_ID(PK), C_ID(FK)
C_ID(PK), C_name, C_duration, C_credit
- E_ID(PK), E_date, E_type, E_roomno, Mark, C_ID(FK)
D_ID(PK), D_name, D_head
- F_ID(PK), F_name, F_contact, F_mail, C_ID(FK), C_name, C_duration, C_credit, D_ID(FK)
- D_ID(PK), D_name, D_head, A_mail(FK)
- A_mail(PK), A_name, A_role, A_contact
- S_ID(PK), S_name, S_contact, S_mail, EnrollYear, G_ID(FK)
- G_ID(PK), CGPA, Semester, Sem_year
F_ID(PK), F_name, F_contact, F_mail
- G_ID(PK), CGPA, Semester, Sem_year, F_ID(FK)
The culmination of the normalization process yields a set of refined and structured tables:
Table No | Table Name | Table Columns | Primary Key | Foreign Key |
---|---|---|---|---|
1 | program | P_ID, P_name, P_duration, P_type | P_ID | |
2 | dept | D_ID, D_name, D_head | D_ID | |
3 | prodept | P_ID, D_ID | P_ID | D_ID |
4 | deptexam | E_ID, E_Date, E_type, E_roomno, Mark, D_ID | E_ID | D_ID |
5 | student | S_ID, S_name, S_mail, S_contact, EnrollYear | S_ID | |
6 | exam | E_ID, E_Date, E_type, E_roomno, Mark | E_ID | |
7 | stdexam | S_ID, E_ID | S_ID | E_ID |
8 | stdfac | S_ID, S_name, S_contact, S_mail, EnrollYear, F_ID | S_ID | F_ID |
9 | faculty | F_ID, F_name, F_contact, F_mail | F_ID | |
10 | classroom | Cl_roomno, Cl_time, Cl_name | Cl_roomno | |
11 | stdcls | S_ID, Cl_roomno | S_ID | Cl_roomno |
12 | stdpro | S_ID, P_ID | S_ID | P_ID |
13 | course | C_ID, C_name, C_duration, C_credit | C_ID | |
14 | stdcrs | S_ID, C_ID | S_ID | C_ID |
15 | faccrs | F_ID, C_ID | F_ID | C_ID |
16 | crsexam | E_ID, E_date, E_type, E_roomno, Mark, C_ID | E_ID | C_ID |
17 | deptofferfaccrs | F_ID, F_name, F_contact, F_mail, C_ID, Cname, C_duration, C_credit, D_ID | F_ID | C_ID, D_ID |
18 | deptauth | D_ID, D_name, D_head, A_mail | D_ID | A_mail |
19 | authority | A_mail, A_name, A_role, A_contact | A_mail | |
20 | stdgrade | S_ID, S_name, S_contact, S_mail, EnrollYear, G_ID | S_ID | G_ID |
21 | grade | G_ID, CGPA, Semester, Sem_year | G_ID | |
22 | facgrade | G_ID, CGPA, Semester, Sem_year, F_ID | G_ID | F_ID |
The Student Management System's database design, meticulously captured through an Entity-Relationship diagram and its subsequent normalization into well-structured tables, ensures a robust foundation for efficiently managing student information, academic programs, faculty records, and administrative processes within educational institutions. The normalized tables exhibit optimal data organization, minimizing redundancy and ensuring accurate and reliable information retrieval for enhanced educational administration and decision-making.