0% found this document useful (0 votes)
11 views3 pages

Final Index

The document outlines the creation of three databases: Colleges, Enrollment, and Subjects, along with their respective tables and SQL statements for various queries. It includes tasks such as inserting data, listing staff and student details, and calculating fees and salaries. Additionally, it provides programming exercises in Visual Basic for generating patterns, checking prime numbers, and calculating Fibonacci series.

Uploaded by

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

Final Index

The document outlines the creation of three databases: Colleges, Enrollment, and Subjects, along with their respective tables and SQL statements for various queries. It includes tasks such as inserting data, listing staff and student details, and calculating fees and salaries. Additionally, it provides programming exercises in Visual Basic for generating patterns, checking prime numbers, and calculating Fibonacci series.

Uploaded by

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

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

Write SQL statements for the following –


a) Create the above tables with the given specifications
and constraints.
b) Insert about 10 rows as are appropriate to solve the 1- 11
following queries.
Write SQL statements for the following –
1 List the names of the teachers teaching computer subjects. 12
2 List the names and cities of all staff working in your college. 12

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

Create the following database :


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)

Write SQL statements for the following –


a) Create the above tables with the given specifications
and constraints. 19-28
b) Insert about 10 rows as are appropriate to solve the
following queries.
Write SQL statements for the following –
1 Get full detail of all students who took admission this year class wise. 29

2 Get detail of students who took admission Bilaspur Colleges. 29-30

3 Calculate the total amount of fees collected in this session:


i) By your college 30-31
ii) By each college
iii) By all college
4 List the number of admissions in your class 31-32

5 List the students in colleges in your city and also live in your city 32

Database – 3

Create the following database :


1) Subjects (paperid, subject, paper, papername)
2) Test (paperid, date, time, max, min)
3) Score (rollno, paperid, marks, attendence)
4) Students (admno, rollno, class, yearsem)
33-41
Write SQL statements for the following –
a) Create the above tables with the given specifications
and constraints.
b) Insert about 10 rows as are appropriate to solve the
following queries.
Write SQL statements for the following –
1 List the students who were present in a paper of a subject. 42

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

3 Write a program to print the table in following format. 48-49

4 Write a program to check the given no is prime or not. 50-51


5 Write a program for given factorial number using user 52-53
define function.
6 Write a program for given factorial number with recursion. 54-56
7 Write a program to calculate the Fibonacci series. 57-58
8 Write a program to check whether the given number is 59-60
Armstrong is not.
9 Write a program to design an interface which will appear 61-62
like a mark sheet it will take Form Design of marks of 5-
subject & calculate the total marks & percentage & then
providing grade according to following criteria.
10 Write a program for temperature convert using option 63-65
button.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy