CS262 - DBMS Lab Assignment 2: Name: Renish R ID: 202252333
CS262 - DBMS Lab Assignment 2: Name: Renish R ID: 202252333
Assignment 2
Name: Renish R
ID: 202252333
1. Students Table:
2. Instructors Table:
3. Courses Table:
4. Grades Table:
5. Grade-Point Table:
Read the tables into an SQL database and write queries to compute the
following:
4. Instructor name for the students enrolled in different courses. (Hint: Use join
operator).
(for my data input there is no case where an instructor teaches multiple courses. So, I got empty
Output.)
(In my data input, there is no students having same CPI, so the output is empty.)
6. Most generous teacher(s) – highest mean GPA in course: (teacher name,
course name).
(Houses were not included in Database, so I have assumed all the students fall under the
same house.)
9. Show the name of students who are having FF grades.
10.The students which are having name starting or ending alphabet is “A”.
11.Show the number of students who are having grade either more than 70 or
are enrolled for the subject of Math.
15.Check how many students are having the middle name starting with “AB”.