answer.
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
kramer
2 years ago
9

Movies( title, year, length, genre, studioName, producerC#) StarsIn(movieTitle, movie Year, starName) MovieStar(name, address, g

ender, birthdate) MovieExec(name, address, cert#, net Worth) Studio name, address, presC#) Declare the following referential integrity constraints for the Movie database a) The producer of a movie must be someone mentioned in MovieExec. Modification to MovieExec that violate this constraint are rejected? b) Repeat (a), but violations result in the producers in Movie being set to NULL c) Repeat (a), but violations result in the deletion or update of the offending Movie tuple. d) A movie that appears in Starln must also appear in Movie. Handle violations by rejecting the modifications? ANSWER) b) CREATE TABLE Movies title year length genre studioName CHAR (30) producerC# INT REFERENCES MovieExec (cert#) ON DELETE SET NULL ON UPDATE SET NULL PRIMARY KEY (Eitle, year) CHAR (100) INT. INT CHAR (10), Page 1 Need A and C d) CREATE TABLE Starsin movieTitle CHAR (100) REFERENCES Mowie(title) movieYe INT starName CHAR (30) PRIMARY KEY (movieTItle, movieYear, starName
Engineering
1 answer:
ehidna [41]2 years ago
7 0

Answer:

a) ALTER TABLE Movies  

Include CONSTRAINT FK_Producer  

Outside KEY (producer#C) REFERENCES MovieExec(cert#);  

b) Here we will make the segment as NOTNULL.  

Modify TABLE Movies  

Modify COLUMN producer#C varchar2 NOT NULL;  

c) The outside key falling choices figure out what activities the database motor should take on the off chance that you attempt to erase or refresh information in the referenced sections in the parent table.  

Modify TABLE Movies  

Include CONSTRAINT FK_Producer  

Remote KEY (producer#C) REFERENCES MovieExec(cert#)  

ON DELETE CASCADE  

ON UPDATE CASCADE;  

d) ALTER TABLE StarsIn  

Include CONSTRAINT FK_mname  

Remote KEY (movieTitle) REFERENCES Movies(title);  

e) ALTER TABLE StarsIn  

Include CONSTRAINT FK_sname  

Remote KEY (starname) REFERENCES MovieStar(name)  

ON DELETE CASCADE;

You might be interested in
Is an isothermal process necessarily internally reversible? Explain your answer with an example
torisob [31]

Answer:

please give me brainlist and follow

Explanation:

Example of an irreverseble isothermal process is mixing of two fluids on the same temperature - it requires a lot of energy to unmix Jack and coke. ... Example of an reversible process with changing temperature is isentropic expansion.

5 0
1 year ago
4. Water vapor enters a turbine operating at steady state at 1000oF, 220 lbf/in2 , with a volumetric flow rate of 25 ft3/s, and
hodyreva [135]
Yes i is the time of the day you get to frost the moon and back and then you can come over and then go to hang out with me me and then go to hang out
6 0
2 years ago
When leveraging Artificial Intelligence (AI) in today's business landscape, which statement represents the data leveraged for so
adoni [48]

Answer:

Some AI could end up taking the jobs of many humans.

Explanation:

Their intelligence exponentially grows and human intelligence grows gradually, causing more ideas and better work efficiency from AI.

8 0
2 years ago
A 50-kg iron block and 20-kg copper block, both initially at 80 oC, are dropped into a large lake at 15 oC. Thermal equilibrium
bija089 [108]
I need this answer to please
5 0
2 years ago
Tech A says that as moisture levels increase in brake fluid, the boiling point of the brake fluid decreases. Tech B says that fi
dezoksy [38]

Answer: Both Technician A and B are correct.

Explanation:

Technicians A and B are both right about their diagnosis. The Society of Automotive Engineers performed extensive research on vehicle brake fluids and found that there is typically a 2% moisture content in the brake fluid after a year of operating a vehicle. And as the moisture content of the brake fluid rises, the boiling point of the brake fluid decreases as well.

4 0
2 years ago
Other questions:
  • Oil with a density of 800 kg/m3 is pumped from a pressure of 0.6 bar to a pressure of 1.4 bar, and the outlet is 3 m above the i
    9·1 answer
  • The wall of drying oven is constructed by sandwiching insulation material of thermal conductivity k = 0.05 W/m°K between thin me
    8·1 answer
  • Pipe (2) is supported by a pin at bracket C and by tie rod (1). The structure supports a load P at pin B. Tie rod (1) has a diam
    15·1 answer
  • A sign erected on uneven ground is guyed by cables EF and EG. If the force exerted by cable EF at E is 46 lb, determine the mome
    13·1 answer
  • 10. Aluminum-lithium (Al-Li) alloys have been developed by the aircraft industry to reduce the weight and improve the performanc
    7·1 answer
  • 4.9 Given that I 4 amps when Vs 40 volts and Is 4 amps and I 1 amp when Vs 20 volts and Is 0, use superposition and linearity to
    5·1 answer
  • Water enters a circular tube whose walls are maintained at constant temperature at specified flow rate and temperature. For full
    8·1 answer
  • A rectification column is fed 100 kg mol/h of a mixture of 50 mol % benzene and 50 mol % toluene at 101.32 kPa abs pressure. The
    5·1 answer
  • Technician A says that weld-through primer can be removed from the immediate weld area to improve weld quality. Technician B say
    7·1 answer
  • Mr. Ray deposited $200,000 in the Old and Third National Bank. If the bank pays 8% interest, how much will he have in the accoun
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!