Académique Documents
Professionnel Documents
Culture Documents
* QUESTION -2*
A. Create the tables with the given specifications and constraints 16
1. Create table Enrollment
*QUESTION -3*
A. Create the tables with the given specifications and constraints 25
1. Create table subject
2. Create table test
3. Create table Score
4. Create table students
B. Insert about 10 rows as are appropriate to solve the following queries 25-29
1. Insert rows in subject
2. Insert rows into test
3. Insert rows into score
4. Insert rows into students
C. List the students who were present in a paper of a subject 29
D. List all the roll numbers who have passed in first division 30
E. List all the students in BCA II who have scored higher then the average in your 30
college
F. List the highest score, average and minimum score in BCA II in your college 30-31
* QUESTION-4*
A. Create the tables with the given specifications and constraints 32
1. Create Table Colleges(cname , city , address, phone, afdate)
2. Create Table staffs ( sid , sname , saddress , contacts )
*QUESTION -7*
A. Find the class that t1 do not teaches at present session 45
B. List the name of the teachers department teaching in more than 1 department 45
C. Acquire details of staffs by name in a colleges or each college 45- 46
D. Find the names of the staff that earn more than each staff of C2 college 46-47
E. Find the staff that do not work in same cities as the college they work 47
F. List the names of the employees in ascending order according to salary becomes 47
greater who work in your college or all college
*QUESTION – 8*
A. Find the class that t1 do not teaches at present session 48
B. Create a view having fields sname, dept, doj and post 48-49
C. Create a view consisting of cname average salary and total salary of all staff in that 49
colleges
D. List the staff names of a department using above views 49-50
*QUESTION -9*
A. Create the tables with the given specifications and constraints 51
1. Create table Enrollment
*QUESTION -10*
A. List the student who have not pay full fee 58
B. List the names of the student in the session who are not in the college in the same city 58-59
as they live in
C. List the names of the student in your college and city and also live in your city 59
*QUESTION -11*
A. Create the tables with the given specifications and constraints 60
1. Create table Subject
2. Create table Test
3. Create table Score
4. Create table Students
B. Insert about 10 rows as are appropriate to solve the following queries 60 - 64
1. Insert rows into subject
2. Insert rows into test
3. Insert rows into score
4. Insert rows into students
C. List the students who were present in a paper of a subject 64
D. List all the roll numbers who have passed in first division 64-65
E. List all the students in BCA II who have scored higher then the average in your 65
college
F. List the highest score, average and minimum score in BCA II in your college 65