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
exis [7]
4 years ago
12

Write the following as triggers. In each case, disallow or undo the modification if it does not satisfy the stated constraint. T

he 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.

Business
1 answer:
Kruka [31]4 years ago
4 0

Answer:

Please see attachment

Explanation:

Please see attachment

You might be interested in
The following are several of the accounts from a recent balance sheet.
Burka [1]

Answer:

<u>Account Name</u>      <u>Balance Sheet Classification</u>    <u>DR or CR Balance </u>

1. Accounts Receivable                    CA                       Debit

2. Prepaid Expense                    CA                        Debit

3. Inventories                                    CA                       Debit

4. Long-Term Debt                   NCL                 Credit

5. Cash and Cash Equivalent    CA                 Debit

6. Accounts Payable                    CL                 Credit

7. Income Tax Payable                    CL                 Credit

8. Contributed Capital                    SE                         Credit

9. Property Plant and Equipment    NCA                 Debit

10. Retained Earning                    SE                  Credit

11. Short-Term Borrowing            CL                 Credit

12. Accrued Liabilities                    CL                 Credit

13. Goodwill (an Intangible Asset)  NCA                 Debit

 

Explanation:

6 0
3 years ago
Panner, Inc., owns 35 percent of Watkins and applies the equity method. During the current year, Panner buys inventory costing $
ziro4ka [17]

Answer: $2289

Explanation:

First, we have to calculate the gross percentage which would be:

= (Revenue - Cost of goods sold) Revenue

= ($124000 - $86800) / $$124000

= 30%

Therefore, the amount of gross profit must Panner defer in reporting this investment using the equity method would be:

= ($21800 × 30%) × 35%

= $21800 × 0.3 × 0.35

= $2289

6 0
3 years ago
How much do RN’s earn an hour?
yuradex [85]
The average rate of an RN’s hourly wage is about a$32.66 an hour. This depends on where you work also.
3 0
4 years ago
Read 2 more answers
when the percentage change in the price is greater htan the resulting percentage change in quantity demanded,
Oliga [24]
The price elasticity of supply is given by a similar formula: If the percentage change in quantity demanded is greater than the percentage change in price, demand is said to be price elastic, or very responsive to price changes.
7 0
2 years ago
Swan Song is a spa that caters to the needs of a small percentage of highly health-conscious consumers. It offers state-of-the-a
Andreyy89

Answer:

The correct answer is: focused differentiation strategy.

Explanation:

The focused differentiation strategy refers to position 5 of the strategic clock. In this strategic position, companies offer products / services with a high added value perceived by customers in exchange for high acquisition prices.

Companies that offer Premium products / services as well as companies dedicated to the luxury sector have the strategy of focused differentiation as the axis of the company's operation.

Companies such as Ferrari, Rolex, Hermes, Cartier, Mont Blanc, Mercedes are examples among others.

6 0
3 years ago
Read 2 more answers
Other questions:
  • What challenges do you see for a company that wants to implement collaborative SCM systems? How would you meet such challenges?
    14·1 answer
  • The united states exports corn and aircraft to the rest of the world and it imports oil and clothing from the rest of the world.
    6·2 answers
  • If the revenue for a certain product is $9.00 each and the company sells x products, then the revenue equation is R = 9x. If the
    8·1 answer
  • Lower-of-cost-or-market as it applies to inventory is best described as the:
    7·1 answer
  • At the luxury hotel in miami, florida, three hotel employees serve the needs of each guest. in every room, a guest can summon a
    15·1 answer
  • The seller of a dry cleaning business has agreed not to open another dry cleaning business for two years within a one-mile radiu
    13·1 answer
  • Explain why full employment may be inconsistent with no shirking. Shirking may be likely with full employment because A. it may
    7·1 answer
  • A couple of generations ago, a relative of Sophia wanted to share his wealth with family members and decided to open a special b
    15·1 answer
  • QUESTION 3
    15·1 answer
  • Following is a partial process cost summary for Mitchell Manufacturing's Canning Department.
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!