Final Index
Final Index
DBMS
S. Topic Page Signature
No. No.
Database – 1
Create the following database :
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, pape name).
3 List the names and cities of all staff working in your college who earn 12-13
more than 15,000.
4 Find the staffs whose names start with 'M' or 'R' and ends with 'A' 13
and/or 7 characters long.
5 Find the staffs whose date of joining is 2005. 13-14
6 Find the colleges who have most number of staffs. 14
7 Find the staffs that earn a higher salary who earn greater than average 15
salary of their college.
8 Find the college that has the smallest payroll. 15-16
9 Find the colleges where the total salary is greater than the average 16
salary of all colleges.
10 List maximum, average, minimum salary of each college. 16-17
11 List the names of the teachers, departments teaching in more than one 17
department.
12 Find all staff that do not work in same cities as the colleges they 17-18
work.
13 List names of employees in ascending order according to salary who 18
are working in your college or all colleges.
Database – 2
5 List the students in colleges in your city and also live in your city 32
Database – 3
2 List all roll numbers who have passed in first division. 42-43
Visual basic
S. Topic Page Signature
No. No.
1 Write a program to print a the following numeric pattern. 44-45
2 Write a program to print a the following pattern. 46-47