CSE311 Mid Question
CSE311 Mid Question
ID:
1. Who is the father of relational database? Mention his 2. Describe the functionality
name and the award (most prestigious award in computer of the below users? (3)
science field) he achieved? (2)
Answer:
3. Generally, single mark arrow indicates a foreign key. Illustrate the reason for choosing
the double markings in the university database schema. Mention the possible options for
coding in SQL server? (5)
Table: Student
Table: Course
5. Specify the following queries in SQL on the database schema of above Figure.
a) For each section of those courses offered by CS department, retrieve the course number,
semester, year, and number of students who took the section. (4)
b) For each student who took more than 2 sections, retrieve the name, student number, major of
the student and the number of sections taken by the student. (4)