Dbms Cover & Index
Dbms Cover & Index
Practical File
On
DATABASE MANAGEMENT SYSTEM
(B.C.A.-208)
Submitted
In
Partial fulfillment of the requirements for the award
of the degree of
Bachelor of Computer Application-2nd Year
For
Session: 2021-22
At
SAMADHAN COLLEGE BEMETARA
Affiliated to
HEMCHAND YADAV UNIVERSITY, DURG (C. G.)
Guided by Submitted by
MRS.PRITI SHARMA SURYKANT DEWANGAN
CERTIFICATE OF EVALUATION
This is to certify that the Practical file entitled “(DATABASE
MANAGEMENT SYSTEM) (B.C.A-208)” is carried out by Mr.
SURYKANT DEWANGAN , a student of BCA – II year at Samadhan
College Bemetara (C.G), after proper evaluation and examination, is hereby
approved as a credible work in the discipline of Computer Science &
Information Technology and is done in a satisfactory manner for its acceptance
as a requisite for the award of degree of Bachelor of Computer Application-
II year during the year 2021-22 from HEMCHAND YADAV
UNIVERSITY, DURG (C. G.)
_________________ __________________
CERTIFICATE OF APPROVAL
This is to certify that the Practical file entitled “( DATABASE
MANAGEMENT SYSTEM) (B.C.A-208)” is carried out by
Mr.SURYKANT DEWANGAN a student of BCA – II year at
Samadhan College Bemetara (C.G.), is hereby approved as a
credible work in the discipline of Computer Science & Information
Technology for the award of degree of Bachelor of Computer
Application -II year during the year 2021-22 from HEMCHAND
YADAV UNIVERSITY, DURG (C.G.).
(HOD/Principal)
SELF CERTIFICATE
This to certify that the project report entitled “(DATABASE
MANAGEMENT SYSTEM) (B.C.A-208)”which is submitted by
me in the partial fulfillment for the award of the degree of
BACHELOR OF COMPUTER APPLICATION-II YEAR,
SAMADHAN COLLEGE BEMETARA (C.G.), comprises the
original work carried out by me.
I further declare that the work reported in this project has not
been submitted and will not be submitted, either in part or in full for
the award of any other degree or diploma in this Institute or any
Institute or University.
__________________
SIGNATURE OF STUDENT
INDEX
S. Name of Assignment/Practical Page Date of Teacher
No. No. Practical signature
Using the following database:- 01-16 z
1. Colleges(cname , city , address , phone , afdate )
2. Staffs(sid , sname , saddress , contacts )
01-10-21
1. 3. StaffJoins(sid , cname , dept ,DOJ , post ,salary)
4. Teachings(sid , class ,paperid, fsession ,tsession)
5. Subjects(paperid, subject,paperno, papername)
a. Create the above tables with the given specifications and 01-03 01-10-21
constraints.
b. Insert about 10 rows as are appropriate to solve the following 03-08 01-10-21
queries.
c. List the names of the teachers teaching computer subjects. 08 01-10-21
d. List the names and cities of all staffs working in your college. 08 01-10-21
PART-I
e. List the names and cities of all staffs working in your college 09 01-10-21
who earn more than 15000.
a. f. Find the staffs whose names start with ‘K’ or ‘R’ and ends with 09 01-10-21
‘A’ and/or 7 characters long.
g. Find the staffs whose date of joining is 2005. 09 01-10-21
h. Modify the database so that staff N1 now works in C2 college. 09-10 01-10-21
i. List the names of subjects, which TI teaches in this session. 10 01-10-21
j. Find the classes that TI do not teach at present session. 10 01-10-21
a. Find the Colleges who have most number off staffs. 10 04-10-21
b. Find the staffs that earn a higher salary who earn greater than 11 04-10-21
average salary of their college.
PART-II
c. Find the colleges whose average salary is more than average 11 04-10-21
salary of C2.
d. Find the college that has the smallest payroll. 11 04-10-21
e. Find the colleges where the total salary is greater than the 11-12 04-10-21
average salary of all colleges.
f. List the maximum, average, minimum salary of each college. 12 04-10-21
a. List the names of the teachers, departments teachings in more 12 05-10-21
than one department.
b. Acquire details of staffs by name in college or each college. 12-13 05-10-21
1. Details of staffs by name in a college.
PART-III
e. Find all staffs that do not work in same cities as the colleges they 14 05-10-21
work.
a. Create a view having fields sname , cname , dept , DOJ, and 15 06-10-21
PART-
post.
b. Create a view consisting of cname, average salary and total 15-16 06-10-21
IV
a. Create the above tables with the given specifications and 17-18 07-10-21
constraints.
b. Insert about 10 rows as are appropriate to solve the following 18-23 07-10-21
PART-I
queries.
c. Get full detail of all students who took admission this year class 23-24 07-10-21
wise.
d. Get detail of students who took admission in Bhilai colleges. 24 07-10-21
e. Calculate the total amount of fees collected in this session: 24-25 07-10-21
i) By your college ii) By each college iii)By all college
a. List the students who have not payed full fee:- 25 08-02-21
i) in your college ii) in all colleges
PART-II
Find all staff who do not work in same city as the college they 50 25-10-21
f. work.
Create the above tables with the given specifications and 54-55 08-11-21
a. constraints.
Insert about 10 rows as are appropriate to solve the following 56-60 08-11-21
b. queries.
Get full detail of all students who took admission this year class 60 08-11-21
c. wise.
d. Get detail of students who took admission in Bhilai colleges. 61 08-11-21
Calculate the total amount of fees collected in this session: 61-62 08-11-21
e. i) By your college ii) By each college iii)By all college
10. Create the following database:-
1. Enrollment(enrollno ,name ,gender , DOB , address ,phone)
2. Admission(admno ,enrollno ,course yearsem ,date ,cname)
63-65 12-11-21
10. 3. Colleges(cname ,city ,address ,phone ,afdate)
4. FeeStructure(course yearsem ,fee)
5. Payment(billno ,admno ,amount ,pdate ,purpose)
List the students who have not payed full fee:- 63 12-11-21
a. i) in your college ii) in all colleges
b. List the number of admissions in your class in every year. 63 12-11-21
List the students in the session who are not in the colleges in the 63-64 12-11-21
c. same city as they live in.
d. List the students in colleges in your city and also live in your city. 64-65 12-11-21
11.Create the following database:-
1. Subject(paperid ,subject ,paper ,papername)
11. 2. Test(paperid ,date ,time ,max ,min)
66-72 16-11-21
3. Score(rollno ,paperid ,marks ,attendence)
4. Students(admno ,rollno ,class ,yearsem)
Create the above tables with the given specifications and 66 16-11-21
a. constraints.
Insert about 10 rows as are appropriate to solve the following 67-68 16-11-21
b. queries.
c. List the students who were present in a paper of subject. 68-70 16-11-21
d. List all roll numbers who have passed in first division. 70 16-11-21
List all students in MCA-II who have scored higher than average:- 71 16-11-21
e. i) in your college ii) in every college
List the highest score, average and minimum score in MCA-II:- 72-73 16-11-21
f. i) in your college ii) in every college