DBMS File
DBMS File
2023-24
DEPARTMENT OF COMPUTER ENGINEERING
Subject: - DATABASE MANAGEMENT SYSTEM
Submitted by
Samir Mesram
Rashi Nirale
Nagesh Motirave
Prathmesh Ramteke
1
Government Polytechnic, Yavatmal
2023-2024
Certificate
Micro Project
This is certify that the microproject titled Database on Student Exam Result
has Completed by Satisfactorily for the subject of Database Management
System by the students second year third semester diploma in computer
engineering.
Name of students:-
Samir Mesram
Rashi Nirale
Nagesh Motirave
Prathmesh Ramteke
2
Acknowledgments
We are also thankful to our friends and library staff members whose
encouragement suggestions helped us to complete our Microproject.
3
DECLARATION
The work done by us in our own piece of work and authentic to the best
of our knowledge under the guidance of S. S. Mete
Gpy(1011)
Group Details
4
➢ INTRODUCTION
➢ ACTION PLAN
➢ RATIONALE
➢ AIMS/BENEFITS
➢ LITERATURE REVIEW
➢ ACTUAL METHODOLOGY FOLLOWED
➢ RESOURCES USED
➢ METHODOLOGY
➢ CONCLUSION
➢ SKILLS DEVELOPED
➢ REFERENCES
5
INTRODUCTION
6
Annexure – I
7
3.0 Proposed Methodology
In accordance with the aim of the project and to assure the proposed and desired
outcome we are committed to adopt the following methodologies:
Secondly, a study on the literature review about the and web page is also in the
line of action to get the first-hand information about emerging contents and
trends.
Thirdly, references of various standard books will also be taken to enhance the
quality of content and to set a profound basis for the explanation of newly added
terminologies to be added.
Finally, the content regarding the basis for innovative trends and adopted style
will be taken from the syllabus of various renowned universities who are having
tie up with platforms like NPTEL, SWAYAM and other MOOCS sources to
enhance the desired working and ethical culture as an ultimate objective for
language learners.
8
ACTION PLAN
Details of Plans Plan end Name of Working
Sr. activity start date responsible hours
No. date team
members
1 Discussion and 20-08- 26-08-2023 Nagesh 1
finalization of 2023 Motirave
topic Samir Mesram
Rashi Nirale
Prathmesh
Ramteke
All Members
9
10 Seminar 11-11-2023 21-11-2023 All Members 1
11 Viva voice 22-11-2023 30-11-2023 All Members 1
12 Final submission 01-12-2023 10-12-2023 All Members 1
of microproject
Total working 12
hours
10
Annexure –II
1.0 Rationale:
It is a collection of programs that enables the user to create and maintain a database. In
other words, it is general-purpose software that provides the users with the processes of
defining, constructing and manipulating the database for various applications. Database
systems are designed to manage large bodies of information.
Management of data involves both defining structures for storage of information and
providing mechanisms for the manipulation of information. In addition, the database
system must ensure the safety of the information stored, despite system crashes or
attempts at unauthorized access. If data are to be shared among several users, the system
must avoid possible anomalous results.
Firstly, we will determine to go through the encyclopedia and some content available
on the websites regarding to our project to cope up with the issue of overall thought
process.
Secondly, a study on the literature review about the and electric circuit is also in the line
of action to get the first-hand information about emerging contents and trends.
Thirdly, references of various standard books will also be taken to enhance the quality
of content and to set a profound basis for the explanation of newly added terminologies
to be added.
Finally, the content regarding the basis for innovative trends and adopted style will be
taken from the syllabus of various renowned universities who are having tie up with
platforms like NPTEL, SWAYAM and other MOOCS sources to enhance the desired
working and ethical culture as an ultimate objective for language learners.
13
E-R MODEL
has
Course_code Course_code
Course_code
Course_name course ID
Sub_1 Sub_3
percentage of
result
Course_code
Sub_code
NETWORK MODEl
Result
MARKS
MARKS RESULT
COURSE
14
HIERACHICAL MODEL
RESULT
MARKS
COURSE COURSE_SUB
SUBJECT
15
Tables Creating
Table 1.
Create :
create table result(ID int, course_id int, name varchar(40), percentage number, primary key(ID));
Insert into result values(1, 101, ‘Mahesh’, 70.66);
Insert into result values(2, 101, ‘Akshay’, 89);
Insert into result values(3, 101, ‘Nagesh’, 66.33);
Insert into result values(4, 101, ‘Ganesh’, 65.33);
Insert into result values(5, 102, ‘Akash’, 65.33);
16
Insert into result values(12, 103, ‘Tejas’, 73.66);
Table 2.
Create :
create table subject(course_id int,Subject_code int, subject_name varchar(30));
Insert :
insert into subject values(101,1001, ‘C Programming’);
17
insert into subject values(103,1012, ‘Microprocessor’);
Table 3.
Create :
create table course_sub(Course_id int, sub_1 int, sub_2 int,sub_3 int,sub_4 int);
Insert :
Insert into course_sub values(101, 1001, 1002, 1003,1004);
Insert into course_sub values(102, 1005, 1006, 1007,1008);
Select :
select * from course_sub;
18
Table 4.
Create :
create table course(course_id int, course_name varchar(30));
Insert :
insert into course values(101, ‘Computer Engineering’);
insert into course values(102, ‘Mechanical Engineering’);
insert into course values(103, ‘Civil Engineering’);
Select :
Select * from course;
19
Table 5.
Create :
create table marks(ID int, Course_id int, sub_1 int, sub_2 int, sub_3 int,sub_4 int);
insert into marks values(1, 101, 70, 75, 67,62);
20
insert into marks values(10, 103, 63, 76, 76,73);
insert into marks values(11, 103, 45, 79, 81,87);
insert into marks values(12, 103, 62, 77, 82,70);
Performed query
1. select m.id, m.course_id, m.sub_1, m.sub_2, m.sub_3,m.sub_4, r.name,
r.percentage from marks m left outer join result r on (m.id=r.id);
21
7. select * from result where percentage > 70 and percentage < 80;
10. select course_id, max(percentage) as topper from result group by course_id order by course_id;
11. select course_id, avg(percentage) as avg_percent from result group by course_id having
avg(percentage) >70 order by course_id;
12. select m.id, m.course_id, m.sub_1, m.sub_2, m.sub_3,m.sub_4, r.name, r.percentage from marks
m right outer join result r on (m.id=r.id);
13. select m.id, m.course_id, m.sub_1, m.sub_2, m.sub_3,m.sub_4, r.name, r.percentage from marks
m inner join result r on (m.id=r.id);
22
THANK YOU!
23