Ask Question
17 August, 23:50

Consider the university enrollment database schema: 547 Student (snurn: integer, snarne: string, majoT: string, level: string, age: integer) Class (name: string, meets_at: time, Toom: string, fid"' integer) Enrolled (snum: integer, cname: string) Faculty (fid: integer, fname: string, deptid: integer) The meaning of these relations is straightforward; for example, Enrolled has one record per student-class pair such that the student is enrolled in the class. For each of the following transactions, state the SQL isolation level you would use and explain why you chose it.

1. Enroll a student identified by her snum into the class named 'Introduction to Database Systems'.

2. Change enrollment for a student identified by her snum from one class to another class,

3. Assign a new faculty member identified by his fid to the class with the least number of students.

4. For each class, show the number of students enrolled in the class.

+1
Answers (1)
  1. 18 August, 00:05
    0
    Enroll a student identified by her snum into the class named 'Introduction to Database Systems' is the following transactions, state the SQL isolation level you would use.

    1. Enroll a student identified by her snum into the class named 'Introduction to Database Systems'.

    Explanation:

    Since enroll is unique in the university enrollment database schema and field name is SNUM and it is data type is an integer. To identify student class name and department name and name of student SNUM field is used for searching in university enrollment database schema. Enrollment changing is not possible of the student's not possible or not good practices in university enrollment database schema.

    If a query had been made class wise or department wise enrollment is played an important role.

    For assign, a faculty is made on the class id or department id.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Consider the university enrollment database schema: 547 Student (snurn: integer, snarne: string, majoT: string, level: string, age: ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers