subject
Business, 13.01.2020 20:31 quay39

Write the following as triggers. in each case, disallow or undo the modification if it does not satisfy the stated constraint. the problems are based on our running movie example:

movies(title, year, length, genre, studioname, producerc#)
starsin(movetitle, moveyear, starname)
moviestar(name, address, gender, birthdate)
movieexec(name, address, cert#, networth)
studio(name, address, presc#)

you may assume that the desired condition holds before any change to the database is attempted. also, prefer to modify the database, even if it means inserting tuples with null or default values, rather than rejecting the attempted modification.

a. assure that at all times, any star appearing in starsin also appears in moviestar.
b. assure that at all times every movie executive appears as either a studio president, a producer of a movie, or both.
c. assure that every movie has at least one male and one female star.

ansver
Answers: 1

Another question on Business

question
Business, 22.06.2019 09:40
Newton industries is considering a project and has developed the following estimates: unit sales = 4,800, price per unit = $67, variable cost per unit = $42, annual fixed costs = $11,900. the depreciation is $14,700 a year and the tax rate is 34 percent. what effect would an increase of $1 in the selling price have on the operating cash flow?
Answers: 2
question
Business, 22.06.2019 10:00
Which term best fits the sentence? is the process of reasoning, analyzing, and making important decisions. it’s an important skill in making career decisions. a. critical thinking b. weighing pros and cons c. goal setting
Answers: 1
question
Business, 22.06.2019 11:00
Abank provides its customers mobile applications that significantly simplify traditional banking activities. for example, a customer can use a smartphone to take a picture of a check and electronically deposit into an account. this unique service demonstrates the bank’s desire to practice which one of porter’s strategies?
Answers: 3
question
Business, 22.06.2019 16:40
Determine the hrm’s role in the performance management process and explain how to ensure the process aligns with the organization’s strategic plan.
Answers: 1
You know the right answer?
Write the following as triggers. in each case, disallow or undo the modification if it does not sati...
Questions
Questions on the website: 13722363