You are on page 1of 6

AFREEN.

A
23/PCSA/117

NORMALIZATION

COLLEGE MANAGEMENT SYSTEM

UN-NORMALIZED TABLE

Field Description Type Length


stud_ID (PK) Student ID Int 11
Stu_name Student Name Varchar 255
Stu_mob Student Mobile Number Int 11
stu_add Contact Address Int 11
stu_email Student Email Varchar 255
stu_pass Student Password Varchar 255
crs_ID Course ID Int 11
crs_name Course Name Varchar 30
crs_desc Course Description Varchar 30
Crs_type Course type Varchar 30
Col_ID College ID Int 11
Col_desc College description Varchar 255
Col_type Type of the college Varchar 30
Reg_stu_ID Student registration ID Int 11
Reg_ID Registration ID Int 11
Reg_desc Description about registration Varchar 255
Reg_type Type of registration Varchar 30
Reg_date Date of registration Varchar 30
Per_id Permission id Varchar 255
Per_role_id Permission role id Varchar 255
Per_module Permission module Varchar 255
Per_name Permission name Varchar 255
Role-id Role id Varchar 255
Role_name Role name Varchar 255
Role_desc Role description Varchar 255
Login-ID Login ID Varchar 255
Login-role-ID Login-role ID Varchar 255
Login_username User name Varchar 255
Login_password Password Varchar 255
User_id User id Varchar 255
User_name Name of the user Varchar 255
User_mobile Mobile number Int 18
User_email Email id Varchar 255
User_address Address Varchar 255

1NF TABLES
AFREEN.A
23/PCSA/117

Table: Students
Field Description Type Length
stud_ID (PK) Student ID Int 11
Stu_name Student Name Varchar 255
Stu_mob Student Mobile Number Int 11
stu_add Contact Address Int 11
stu_email Student Email Varchar 255
stu_pass Student Password Varchar 255

Table: Courses
Field Description Type Length
crs_ID (PK) Course ID Int 11
crs_name Course Name Varchar 30
crs_desc Course Description Varchar 30
Crs_type Course type Varchar 30
Crs_std_ID Student ID Int 11

Table: Colleges
Field Description Type Length
Col_ID (PK) College ID Int 11
Col_desc College description Varchar 255
Col_type Type of the college Varchar 30

Table: Registrations
Field Description Type Length
Reg_stu_ID Student registration ID Int 11
Reg_ID (PK) Registration ID Int 11
Reg_desc Description about registration Varchar 255
Reg_type Type of registration Varchar 30
Reg_date Date of registration Varchar 30

Table: Permissions
Field Description Type Length
Per_id (PK) Permission id Varchar 255
Per_role_id Permission role id Varchar 255
Per_module Permission module Varchar 255
Per_name Permission name Varchar 255

Table: Roles
Field Description Type Length
Role-id (PK) Role id Varchar 255
AFREEN.A
23/PCSA/117
Field Description Type Length
Role_name Role name Varchar 255
Role_desc Role description Varchar 255

Table: Logins
Field Description Type Length
Login-ID (PK) Login ID Varchar 255
Login-role-ID Login-role ID Varchar 255
Login_username User name Varchar 255
Login_password Password Varchar 255

Table: Users
Field Description Type Length
User_id (PK) User id Varchar 255
User_name Name of the user Varchar 255
User_mobile Mobile number Int 18
User_email Email id Varchar 255
User_address Address Varchar 255

2NF TABLES:

Table: Students
Field Description Type Length
stud_ID (PK) Student ID Int 11
Stu_name Student Name Varchar 255
Stu_mob Student Mobile Number Int 11
stu_email Student Email Varchar 255
stu_pass Student Password Varchar 255

Table: Courses
Field Description Type Length
crs_ID (PK) Course ID Int 11
crs_name Course Name Varchar 30
crs_desc Course Description Varchar 30
Crs_type Course type Varchar 30
Crs_std_ID Student ID (FK) Int 11

Table: Colleges
Field Description Type Length
Col_ID (PK) College ID Int 11
Col_desc College description Varchar 255
Col_type Type of the college Varchar 30
AFREEN.A
23/PCSA/117

Table: Registrations
Field Description Type Length
Reg_stu_ID (FK) Student registration ID Int 11
Reg_ID (PK) Registration ID Int 11
Reg_desc Description about registration Varchar 255
Reg_type Type of registration Varchar 30
Reg_date Date of registration Varchar 30

Table: Permissions
Field Description Type Length
Per_id (PK) Permission id Varchar 255
Per_role_id Permission role id Varchar 255
Per_module Permission module Varchar 255
Per_name Permission name Varchar 255

Table: Roles
Field Description Type Length
Role-id (PK) Role id Varchar 255
Role_name Role name Varchar 255
Role_desc Role description Varchar 255

Table: Logins
Field Description Type Length
Login-ID (PK) Login ID Varchar 255
Login-role-ID Login-role ID Varchar 255
Login_username User name Varchar 255
Login_password Password Varchar 255

Table: Users
Field Description Type Length
User_id (PK) User id Varchar 255
User_name Name of the user Varchar 255
User_mobile Mobile number Int 18
User_email Email id Varchar 255
User_address Address Varchar 255

3NF

Table: Students
Field Description Type Length
stud_ID (PK) Student ID Int 11
AFREEN.A
23/PCSA/117
Field Description Type Length
Stu_name Student Name Varchar 255
Stu_mob Student Mobile Number Int 11
stu_email Student Email Varchar 255
stu_pass Student Password Varchar 255

Table: Courses
Field Description Type Length
crs_ID (PK) Course ID Int 11
crs_name Course Name Varchar 30
crs_desc Course Description Varchar 30
Crs_type Course type Varchar 30

Table: Students_Courses
Field Description Type Length
stud_ID (PK, FK) Student ID Int 11
crs_ID (PK, FK) Course ID Int 11

Table: Colleges
Field Description Type Length
Col_ID (PK) College ID Int 11
Col_desc College description Varchar 255
Col_type Type of the college Varchar 30

Table: Registrations
Field Description Type Length
Reg_ID (PK) Registration ID Int 11
Reg_stu_ID (FK) Student registration ID Int 11
Reg_desc Description about registration Varchar 255
Reg_type Type of registration Varchar 30
Reg_date Date of registration Varchar 30

Table: Permissions
Field Description Type Length
Per_id (PK) Permission id Varchar 255
Per_role_id Permission role id Varchar 255
Per_module Permission module Varchar 255
Per_name Permission name Varchar 255

Table: Roles
AFREEN.A
23/PCSA/117
Field Description Type Length
Role-id (PK) Role id Varchar 255
Role_name Role name Varchar 255
Role_desc Role description Varchar 255

Table: Logins
Field Description Type Length
Login-ID (PK) Login ID Varchar 255
Login-role-ID (FK) Login-role ID Varchar 255
Login_username User name Varchar 255
Login_password Password Varchar 255

Table: Users
Field Description Type Length
User_id (PK) User id Varchar 255
User_name Name of the user Varchar 255
User_mobile Mobile number Int 18
User_email Email id Varchar 255
User_address Address Varchar 255

You might also like