1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Marta_Voda [28]
3 years ago
10

Consider the university enrollment database schema: 547 Student(snurn: integer, snarne: string, majoT: string, level: string, ag

e: 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.
Computers and Technology
1 answer:
trapecia [35]3 years ago
8 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'.

<u>Explanation:</u>

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.

You might be interested in
Can you help me in this question
Amiraneli [1.4K]

Answer:

6 2 and 0

Explanation:

This algorithm doesn't work if the list is not ordered ascending.

In this example it is not, and indeed the item "1" is never found.

first cycle: first=0, last=12 so midpoint=6

second cycle: first=0, last=5 so midpoint=2

last cycle: first=0, last=1 so midpoint=0

then last is assigned -1 so the while statement is no longer true.

7 0
2 years ago
What is the best programming language?
Sophie [7]
There is no "best" programming language. Each programming language has it's one purpose. HTML is used for the skeleton of the web page. CSS is used to style the HTML. Javascript and javascript libraries like jQuery are used to make a web page more interactive. PHP is used to make a web page dynamic. MYSQL used to manage databases. Not all languages are for strictly for web page development. Ruby is an example. But Ruby on Rails is for web development. Some languages are used for making programs. Such as C, C++, C#. There are all sorts of programming languages. Some more popular than others. I have learned multiple programming languages and I have my favorites. If you go to learn multiple languages, I am pretty sure you're gonna have a favorite. 

It basically comes down to what programming language you want to learn.
8 0
3 years ago
A person using a prosthetic device can easily overheat on a hot vehicle. <br> a. True<br> b. False
Anni [7]
Is is actually A. True

The human body regulates body temperature through the skin and sweating and being an amputee can reduce this.
4 0
2 years ago
Which of the following is considered both an input and output peripheral?
larisa [96]
Keyboard
Explaination: it is period
8 0
3 years ago
Which of the following is not a basic computer operation? A. Processing B. Input C. Throughput D. Storage
andrew11 [14]
Throughput I think.....
3 0
3 years ago
Read 2 more answers
Other questions:
  • An administrator has just added a new update to the WSUS server and she wants to test the update to the test group. Which of the
    9·1 answer
  • Dialogue is not a characteristic of functional text because...
    12·1 answer
  • A student is helping a friend with a home computer that can no longer access the Internet. Upon investigation, the student disco
    9·1 answer
  • What term is used for a seemingly harmless program that has malicious code hidden inside?
    9·1 answer
  • Convert to octal. Convert to hexadecimal. Then convert both of your answers todecimal, and verify that they are the same.(a) 111
    12·1 answer
  • How is a ink pen better than a digital pen.
    8·1 answer
  • Social media challenges third world country are facing​
    8·1 answer
  • _________________ ___________________ is an encrypted code that a person, website, or organization attaches to an electronic mes
    9·1 answer
  • In this assignment, you will develop a C++ program and a flowchart that calculates a cost to replace all tablets and desktop com
    14·1 answer
  • FREEFREEFREEFREEFREEFREE
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!