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 08:00
Suppose that xtel currently is selling at $40 per share. you buy 500 shares using $15,000 of your own money, borrowing the remainder of the purchase price from your broker. the rate on the margin loan is 8%. a. what is the percentage increase in the net worth of your brokerage account if the price of xtel immediately changes to (a) $44; (b) $40; (c) $36? (leave no cells blank - be certain to enter "0" wherever required. negative values should be indicated by a minus sign. round your answers to 2 decimal places.) b. if the maintenance margin is 25%, how low can xtel’s price fall before you get a margin call? (round your answer to 2 decimal places.) c. how would your answer to requirement 2 would change if you had financed the initial purchase with only $10,000 of your own money? (round your answer to 2 decimal places.) d. what is the rate of return on your margined position (assuming again that you invest $15,000 of your own money) if xtel is selling after one year at (a) $44; (b) $40; (c) $36? (negative values should be indicated by a minus sign. round your answers to 2 decimal places.) e. continue to assume that a year has passed. how low can xtel’s price fall before you get a margin call? (round your answer to 2 decimal places.)
Answers: 1
question
Business, 22.06.2019 11:00
You decide to invest in a portfolio consisting of 25 percent stock a, 25 percent stock b, and the remainder in stock c. based on the following information, what is the expected return of your portfolio? state of economy probability of state return if state occurs of economy stock a stock b stock c recession .16 - 16.4 % - 2.7 % - 21.6 % normal .55 12.6 % 7.3 % 15.9 % boom .29 26.2 % 14.6 % 30.5 %
Answers: 1
question
Business, 22.06.2019 15:30
On january 15, the end of the first biweekly pay period of the year, north company’s payroll register showed that its employees earned $32,000 of sales salaries. withholdings from the employees’ salaries include fica social security taxes at the rate of 6.2%, fica medicare taxes at the rate of 1.45%, $3,000 of federal income taxes, $772 of medical insurance deductions, and $260 of union dues. no employee earned > $7,000 in this first period. prepare the journal entry to record north company’s january 15 (employee) payroll expenses and liabilities.
Answers: 3
question
Business, 22.06.2019 18:00
1. what is the amount of interest earned after two years on a $100 deposit paying 4 percent simple interest annually? $8.00 $4.08 $8.16 $4.00 2. what is the amount of compound interest earned after three years on a $100 deposit paying 8 percent interest annually? $24.00 $8.00 $16.64 $25.97 3. a business just took out a loan for $100,000 at 10% interest. if the business pays the loan off in three months, how much did the business pay in interest? $2,500.00 $10.00 $250.00 $10,000.00 4. what is the annual percentage yield (apy) for a deposit paying 5 percent interest with monthly compounding? 5.00% 5.12% 79.59% 0.42%
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
question
Social Studies, 17.10.2019 05:40
question
Mathematics, 17.10.2019 05:40
question
Mathematics, 17.10.2019 05:40
Questions on the website: 13722360