0% found this document useful (0 votes)
18 views10 pages

Dbms Cover & Index

Uploaded by

surykant4102
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views10 pages

Dbms Cover & Index

Uploaded by

surykant4102
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

A

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.)

Internal Examiner External Examiner


_________________ _________________

_________________ __________________

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.

Name:SURYKANT DEWANGAN Place: _________


Rollno.________ Date: _________

__________________
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

2. Details of staffs by name each college.


c. Give all Principals a 10% rise in salary unless their salary 13 05-10-21
becomes greater than 20,000 in such case give 5% rise.
d. Give all Principals a 10% rise in salary unless their salary 13 05-10-21
becomes greater than 20,000 in such case give 5% rise.

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

salary of all staff in that college.


c. List the staff names of a department using above views. 16 06-10-21
2. 2. Create the following database:- 17-26 07-10-21
-1. Enrollment(enrollno ,name ,gender , DOB , address ,phone)
2. Admission(admno ,enrollno ,course yearsem ,date ,cname)
3. Colleges(cname ,city ,address ,phone ,afdate)
4. FeeStructure(course yearsem ,fee)
5. Payment(billno ,admno ,amount ,pdate ,purpose)

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

b. List the number of admissions in your class in every year. 26 08-02-21


c. List the students in the session who are not in the colleges in the 26 08-02-21
same city as they live in.
d. List the students in colleges in your city and also live in your 26 08-02-21
city.
3.Create the following database:- 27-34 11-10-21
1. Subject(paperid ,subject ,paper ,papername)
3. 2. Test(paperid ,date ,time ,max ,min)
3. Score(rollno ,paperid ,marks ,attendence)
4. Students(admno ,rollno ,class ,yearsem)
Create the above tables with the given specifications and 27-28 11-10-21
a. constraints.
Insert about 10 rows as are appropriate to solve the following 28-32 11-10-21
b. queries.
c. List the students who were present in a paper of subject. 32 11-10-21
d. List all roll numbers who have passed in first division. 33 11-10-21
List all students in BCA-II who have scored higher than average in 33 11-10-21
e. every college.
List the highest score, average and minimum score in BCA-II in 34 11-10-21
f. your college.
4.Using the following database:- 35-42 13-10-21
1. Colleges(cname , city , address , phone , afdate )
2. Staffs(sid , sname , saddress , contacts )
4. 3. StaffJoins(sid , cname , dept ,DOJ , post ,salary)
4. Teachings(sid , class ,paperid, fsession ,tsession)
5. Subjects(paperid, subject,paperno, papername)
Create the above tables with the given specifications and 35-37 13-10-21
a. constraints.
Insert about 10 rows as are appropriate to solve the following 37-42 13-10-21
b. queries.
c. List the names of the teachers teaching computer subjects. 42 13-10-21
d. List the names and cities of all staffs working in your college. 42 13-10-21
List the names and cities of all staffs working in your college who 43 13-10-21
e. earn more than 15000.
5. 5.Using the following database:- 43-45 18-10-21
1. Colleges(cname , city , address , phone , afdate )
2. Staffs(sid , sname , saddress , contacts )
3. StaffJoins(sid , cname , dept ,DOJ , post ,salary)
4. Teachings(sid , class ,paperid, fsession ,tsession)
5. Subjects(paperid, subject,paperno, papername)
b. Find the staffs whose names start with ‘K’ or ‘R’ and ends with ‘A’ 43 18-10-21
a. and/or 7 characters long.
b. Find the staffs whose date of joining is 2005. 44 18-10-21
c. Modify the database so that staff N1 now works in C2 college. 45 18-10-21
List the names of subjects, which TI teaches in this session or all 45 18-10-21
d. session.
6.Using the following database:- 46- 21-10-21
1. Colleges(cname , city , address , phone , afdate )
2. Staffs(sid , sname , saddress , contacts )
6. 3. StaffJoins(sid , cname , dept ,DOJ , post ,salary)
4. Teachings(sid , class ,paperid, fsession ,tsession)
5. Subjects(paperid, subject,paperno, papername)
a. Find the classes that TI do not teach at present session. 46 21-10-21
b. Find the Colleges who have most number off staffs. 46 21-10-21
Find the staffs that earn a higher salary who earn greater than 46 21-10-21
c. average salary of their college.
Find the colleges whose average salary is more than average salary 47 21-10-21
d. of C2.
e. Find the college that has the smallest payroll. 47 21-10-21
Find the colleges where the total salary is greater than the average 47 21-10-21
f. salary of all colleges.
g. List the maximum, average, minimum salary of each college. 47 21-10-21
7.Using the following database:- 48-50
1. Colleges(cname , city , address , phone , afdate )
2. Staffs(sid , sname , saddress , contacts )
25-10-21
7. 3. StaffJoins(sid , cname , dept ,DOJ , post ,salary)
4. Teachings(sid , class ,paperid, fsession ,tsession)
5. Subjects(paperid, subject,paperno, papername)
List the names of the teachers, departments teachings in more 48 25-10-21
a. than one department.
Acquire details of staffs by name in college or each college. 48 25-10-21
b. 1. Details of staffs by name in a college.
2. Details of staffs by name each college.
Give all Principals a 10% rise in salary unless their salary becomes 49 25-10-21
c. greater than 20,000 in such case give 5% rise.
Find all staffs that do not work in same cities as the colleges they 49 25-10-21
d. work.
Give all principals a 10% rise in salary unless their salary becomes 49-50 25-10-21
e. greater than 20,000 in such case give 5% rise.

Find all staff who do not work in same city as the college they 50 25-10-21
f. work.

List name of employees in ascending order according to salary 50-51 25-10-21


g. who are working in your college or all colleges.

8. Using the following database:-


1. Colleges(cname , city , address , phone , afdate )
52-53 28-10-21
2. Staffs(sid , sname , saddress , contacts )
3. StaffJoins(sid , cname , dept ,DOJ , post ,salary)
4. Teachings(sid , class ,paperid, fsession ,tsession)
5. Subjects(paperid, subject,paperno, papername)
a. Find the classes that T1 do not teach at present session. 52 28-10-21
b. Create a view having fields sname , cname , dept , DOJ and post . 52 28-10-21
Create a view consisting of cname, average salary and total salary 53 28-10-21
c. of all staffs in that college.
d. List the staffs names of a department using the above views. 53 28-10-21
9. Create the following database:-
1. Enrollment(enrollno ,name ,gender , DOB , address ,phone)
2. Admission(admno ,enrollno ,course yearsem ,date ,cname)
54-62
9. 3. Colleges(cname ,city ,address ,phone ,afdate)
08-11-21
4. FeeStructure(course yearsem ,fee)
5. Payment(billno ,admno ,amount ,pdate ,purpose)

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

You might also like