-
Notifications
You must be signed in to change notification settings - Fork 4
Normalization & Finalization
Md Ehsanul Haque edited this page Aug 3, 2023
·
14 revisions
![](https://private-user-images.githubusercontent.com/133691757/257957405-aa07baa3-9065-4ba2-b95b-f21ccd7ca338.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3Nzg4ODEsIm5iZiI6MTcyNDc3ODU4MSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU3NDA1LWFhMDdiYWEzLTkwNjUtNGJhMi1iOTViLWYyMWNjZDdjYTMzOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzA5NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lMDRhYjkwN2M0MjEyNTFiNWJlNzBkZjNhZTQzMTIxOWFhY2I5ZjhlNTBiNmMzOTZmM2M2MjRkNzkxNzJiNWI4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.pPY_yHrs0kFU20fMVdeZJNSSrQnDGeJZMKe-pLQUyNY)
![](https://private-user-images.githubusercontent.com/133691757/257957158-f20997de-ce27-4619-8d53-d885e81a9121.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3Nzg4ODEsIm5iZiI6MTcyNDc3ODU4MSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU3MTU4LWYyMDk5N2RlLWNlMjctNDYxOS04ZDUzLWQ4ODVlODFhOTEyMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzA5NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mNmViM2JkMDhlZjNmODJlMjQyOWI2MWE5YjFhZWQ1YmVlOGYzMGNlY2JjN2ViZDRhMGQ3MzhjOTNiNjFhZjUxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.l_Tnw5ef1sBfU7vXM6nJDPIyr2rVGGKJkKBNnsu_oi4)
- 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3Nzg4ODEsIm5iZiI6MTcyNDc3ODU4MSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU2Njk2LWY0NTRiY2YwLTM0NGItNDY5ZS1hODg3LTg0NTI1MTMzMGYzNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzA5NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02ZGM4M2FiYjRhYmM4MzE1MTU3YTdmODY4ZGIwYTlkMzY3MGE5MDE1NTlmYWNhOWFkNjJkNmU4ZDYzN2Q2MjA0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.nlpgt2-_FdPy1ZcQ-th0bcN-KwekKS5VdxFdehboVRo)
- 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3Nzg4ODEsIm5iZiI6MTcyNDc3ODU4MSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU2NzM4LTQzYWVlZTU0LWFmNzktNDRjNy1iNTBjLTM4OThmNWYxMmRjNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzA5NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wYTk5ZDA0ZWViYTBkMWRkMzA5ZmE3ZjdlNDg0OGY0NmQzYzM4YzkzYWVlOThmYzNlYTFhZWIxZWI5MDQwNDBjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.hAWEt-FEVzSD27nGkEJnxoPUITv2o9GWVzjqTRtsV9w)
- 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3Nzg4ODEsIm5iZiI6MTcyNDc3ODU4MSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU2MTI2LTQwZjM4MGMxLWEwYTAtNDAyNi1iZGFmLWQ5ODhhZGQ2YTVhNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzA5NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05NTMyYTIxOTEwYzJmOWQ5ZmJhYWE1NTliZmU0ZDcwZDBkMDZjNzVkM2Y5MzcxMGI5YmNjYzk3YmI5YjMyMDgzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.P0ytJ0RrEzURVlyNJIM7Te1ZGNqVrsNVAGI_no_SrR4)
- 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3Nzg4ODEsIm5iZiI6MTcyNDc3ODU4MSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU3MDgwLWY0NjM3M2I1LWM0NWEtNGU5Ni1hMjAxLTVjZDk5YWI3YjY3NS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzA5NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mYjJmNDBmM2E5MjAwMmRlZmI3MGFkMmJiZjllNGVmZTA1N2YzNDc1MGMwZDQ2NTg3MDc1MzA5ODhjNjU2ZTVhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.OUINFGg1ITOs32vyLmiEl07n9tjVqKzUhMdNrIm1dC0)
- 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3Nzg4ODEsIm5iZiI6MTcyNDc3ODU4MSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU3MzIwLThjMjcyYmU1LTNlZDktNGMyNC04ZGIyLWNkMDYwMGNlZTUzZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzA5NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02ODk3ZDFiNDFhOTYzMmNjYmFjNmQ3ZWNiZDE5ZGIyZTc2NDNhYjcyZjQ5NzJhMDM2MTA1ODFiOTc0MzQzZjgxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.bLJ7sGQ69Hqzg_Fny95kyDPbS1h2O6Ri1CH8D6DAp9o)
- 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3Nzg4ODEsIm5iZiI6MTcyNDc3ODU4MSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU2NjM5LTVhMmY4NGNjLTgwY2MtNGIzZC05MmJiLTdkMThmMDRhNGVjMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzA5NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yODJmNzAyNjIzNWY5YjI5ZTcyMThhNGFlMTdlNjI4MGZmMzI0NjQ0NWMxM2RlNmJjNjMyNTk1MjU4MWQ2N2I2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.-NcDpw_pNAyx2p7aef9t-KR0Z35oLjwBbHzXWzEKTyY)
- 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3Nzg4ODEsIm5iZiI6MTcyNDc3ODU4MSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU2MzQzLTI1NDJhM2FlLTY0YTItNGMzOC1iNGM1LTZmOTg5ZDAzNmEzZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzA5NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00ZDExMzZlYTQ5ODBlMzc5M2JlODNkZmJhZWU1NmUwZWZiYTFmZTE5OGQ0ZmE5N2ZjMzI5MmFiNTI0Yzc4ODM4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.BOZfdzQhNM7p7_AIpValO5BxSM7qJEs6u5iBqVlEiNQ)
- 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3Nzg4ODEsIm5iZiI6MTcyNDc3ODU4MSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU2MTk3LTVlNzJlYTJiLTI1MDQtNDNhOS1iN2FkLTEzNDIxMjFmMDBhNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzA5NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zYjgxOWMyNjk4NzJhMGQ5ZGMxMGU3YjdmOGE1OTZjMjE0NGEwYTYwMzRkMWRlYzNlNTJiMjJlZWVhMGU4NGY2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.1faS-d4QE97IvqitQVcrUvehflR_SyESBaOMF4DBBz0)
- 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3Nzg4ODEsIm5iZiI6MTcyNDc3ODU4MSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU2NTg1LTA3YWM5NDI4LTI4YzctNGEwNy04MWE0LWNmNjAwMTNmOTI3Ny5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzA5NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wNDViYTI0NThjZmY4NTk2ZmZiOWRmYWM1ODYxMGY2N2ViZjAzMjAxN2QyNmM2YzNkM2VjZDQ1NjFjM2FkZTZmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.bIWXo3_eezto6NW-wHHP2N2S7MT6FJip_DQd93FDA_k)
- 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3Nzg4ODEsIm5iZiI6MTcyNDc3ODU4MSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU2Mzk4LTQyNGRmNDg2LTRhNTItNGY0My05MDE1LTFlZTZiZTU0YzhhYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzA5NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xZWYzNzIyMWYzYzY1MGUwZDVjOWNhMTNiZDg5MzU3YzEyMTdjNzA2Y2Y5ODgyY2VmYTk4MjIxN2MwN2U5NDRiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.skVt8UtsidNm2el5PdzbYpppWOq2J8VwyQ4QpfJgRS0)
- 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/257956962-1ab39668-da83-486e-acce-6e7b09535cb3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3Nzg4ODEsIm5iZiI6MTcyNDc3ODU4MSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU2OTYyLTFhYjM5NjY4LWRhODMtNDg2ZS1hY2NlLTZlN2IwOTUzNWNiMy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzA5NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hMDg1YzYwYTVmNGNiOTdmMGM3NzQxMGE5YTZjNzE1ZDkzNzQ5ZjFiYTJhNDBlNGY3NGUzZmViMjBmZTY4MTk2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.l5lVGt_uTPL3jcDIkfy-t5CYS02KMvz9qdjmUVh5QIU)
- 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3Nzg4ODEsIm5iZiI6MTcyNDc3ODU4MSwicGF0aCI6Ii8xMzM2OTE3NTcvMjU3OTU2ODE3LWI1MzgwZDZjLWVhNDgtNDFkNy1hYTFkLTgzZjNhMGVlN2Q2Yi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNzA5NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yMDMwZGRmZmE3OWZmOTZmY2FhZWI0NjRiYTNkN2NkMTMxNTYyNDAzZTEwYTQ3NmY2YTUyMDJhN2E1YjliOTUyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.0_t5qrU9LX9iJqK4i-Jk9eRp-K5rFbUgBrkBQmt0h5E)
- 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)
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 | deptconductexam | 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, Fname, 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 |