Project Report
Project Report
Student Name ID
Rakib,MD.Shahidullah 18-38243-2
Mohonto,Pronay kumar 18-38224-2
MD. Rezvi Khalid Hridoy 18-38472-2
Arindam Dey 18-38458-2
University Management System 1
TABLE OF CONTENTS
Contents Page No.
System Summary 03
An ERD Diagram 04
Class Diagrams 05
Activity diagram 07
Database schema 08
Tables 09-12
SQL 13-14
Questions 14
UI 15-16
System Summary:
This is a management system for a university. Every institution needs a database system in order to store
information about every employee, faculty member, and student on the campus. It makes it simple to keep
track of the system while working. There are three different sorts of users in this system. They are:
Admin
Faculty
Students
All three of these users have the ability to log into the system.
The registry module, also known as the program executive module, is responsible for maintaining all
information pertaining to students, courses, cohorts, attendance, assessments, and invoicing, among other
things. In this application, administrative staff members have the ability to access courses and student
information based on the responsibilities and permissions that have been assigned to them inside the
system.
The admin or administration will have the authority to add, edit, and delete any information on the
website. This administrator will be in total command of the management of this database system and will
be responsible for it.
The faculty member has the authority to check and change the information provided by students, as well
as to alter the grades of those pupils. The faculty management system module has been designed to
manage the personal information of all of the faculty members at the institution. This module manages the
schedules of lectures, allows you to upload syllabuses, notes, and other materials, and it also allows you
to enter attendance information. This technologically advanced module system includes an internal
messaging system that allows students, their parents, and staff members to communicate with one
another. With the help of this module, assigning tasks to pupils becomes a lot less difficult. This module
also assists employees in submitting leave requests, downloading wage slips, and updating their personal
information and other relevant details in the college's database. Overall, it is the most comprehensive and
feature-rich collection of faculty administration systems available.
A student portal is a login for students that allows them to access all of the information about them that is
stored in the university's databases. Students are alerted here of all course-related material that is pertinent
to them. With this simple to use service, you can manage your attendance data, invoices, semester
examinations and results, event calendar, and keep up to speed with the latest notifications from your
institution or college. Students can get information about their grades, class schedules, and faculty
members by logging into their accounts.
ERD Diagram:
Class Diagram:
Use Case Diagram:
Activity Diagram:
Database Schema:
Table Information:
SQL:
//ADMIN
CREATE TABLE admin (
id int,
name varchar2(30),
email varchar2(30),
username varchar2(255)
);
//
INSERT INTO admin (id, name, email, username) VALUES
(1, 'Ashiqr', '[email protected]', 'admin');
//
CREATE TABLE users (
type varchar2(255),
username varchar2(255),
pwd varchar2(255)
);
//
INSERT INTO users (type, username, pwd) VALUES
('admin', 'admin', '1234');
//
CREATE TABLE student (
id int,
name varchar(255),
username varchar(255),
email varchar(255),
cgpa varchar(255),
blood_group varchar(255),
dept varchar(255),
religion varchar(255)
);
//
INSERT INTO student (id, name, username, email, cgpa, blood_group, dept, religion) VALUES
(1, 'Ashiq', 'Ashiqstudent', '[email protected]', '3.45', 'B+', 'cs', 'islam');
(2, 'Sohelee', 'soheleestudent', '[email protected]', '3.45', 'B+', 'cs', 'islam'),
(3, 'Azim', 'azimstudent', '[email protected]', '3.45', 'B+', 'cs', 'islam'),
(4, 'Imran', 'imranstudent', '[email protected]', '3.45', 'B+', 'cs', 'islam');
//
CREATE TABLE teacher (
name varchar(255),
username varchar(255),
email varchar(255),
blood_group varchar(255),
religion varchar(255),
salary varchar(255),
dept varchar(255)
)
//
INSERT INTO teacher (name, username, email, blood_group, religion, salary, dept) VALUES
('Ashiq', 'Ashiq', '[email protected]', 'B+', 'Islam', 10000, 'CS');
('Sohelee', 'Sohelee', '[email protected]', 'B+', 'Hindu', 5000, 'CS');
('Azim', 'Azim', '[email protected]', 'B+', 'Islam', 80000, 'CS');
('Imran', 'Imran', '[email protected]', 'B+', 'Islam', 70000, 'CS');
Questions:
1.Select all the information for all the Students.
select * from student
2.select name ,id,cgpa and dept from the students table
select name,id,cgpa,dept from student
7.Delete the maximum salary holders from the teachers and his dept is EEE
delete from teacher where sal in(select max(sal) from teacher where and dept='eee')
8.Increment the salary of the teachers to 10% who belong from BBA dept.
update teacher set sal = sal+(sal*0.10) where dept in(select dept from teacher)
10.Find out all the details heighest paid teacher the BBA department
select max(sal) from teacher where dept = 'bba'
UI: