DBMS
DBMS
Management
System
•A College Management
System is a Web-Based
What is College Solution that covers all the
functions of the College.
Management • It is developed by analyzing
the activities of College like:
System? Admission, Examination, and
many other.
How People
work with Before DBMS in College
Management System the
following rules were
College followed:-
• Paper-Based Records
Management • Filing Cabinets
• Manual Data Entry &
System Retrieval
• Duplication of Data
before DBMS? • Data Security Challenge
After the introduction of
How Database Management
People System(DBMS) the
Management System went
work with under certain improvements:-
College `
•
•
Centralized Data Storage
Efficient Data Retrieval
Manageme •
•
Data Integrity & Consistency
Reduced Data Redundancy
nt • Improved Accessibility
System
Entity Relationship Diagram of
College Management System
Login Password
ID
User Login
User ID Role
Name ID
User Has Roles
User Role
Mobile Name
User
Address Per_ID
Per_Name Permissions
Manage
Reg_stu
stu_ID stu_name
_ID
crs_type
Student Has Course Registration
crs_ID
Reg_no
stu_add stu_email crs_name
One-to-Many:-
Relationshi Exists in a relational database
when one row in table A is linked
ps followed to many rows in table B, but only
one row in table B is linked to
in College one row in table A.
Example:
Manageme Login with Login ID & Password
nt System
Schema of College Management
System
• Table Name:- Login
• Table Name:-Permissions
• Table Name:-Registration
• Table Name:- Course
2 Raman 40
• A JOIN statement is a SELECT that
Join combines records from two tables
into a results table based on some
Statement condition, called a join condition.
Join Statement
• Employees Table:- • Department Table:-
CREATE TABLE Employees ( CREATE TABLE Departments(
ID INT PRIMARY KEY, DepartmentID INT PRIMARY KEY,
Name VARCHAR(50), DepartmentName VARCHAR(50)
Age INT); );
INSERT INTO Employees (ID, INSERT INTO Departments
Name, Age) ( DepartmentID,
VALUES(1,’Aman’,30) DepartmentName)
(2,’Vipul’,27) VALUES(1, ‘Computer Engineering’
),
(3,’Nikita’,25)
(2, ‘Finance’ ),
(3, ‘Chemist’ );
• Employees Table • Department Table
JOIN
SELECT Employees.Name, Departments.DepartmentName
FROM Employees
JOIN Departments ON Employees.DepartmentID =
Departments.DepartmentID;
Thank You