Consider the relational schema shown in Figure below. a. Give a schema definition in SQL: 1999 corresponding
Question:
Consider the relational schema shown in Figure below.
a. Give a schema definition in SQL: 1999 corresponding to the relational schema, but using references to express foreign-key relationships.
b. Write each of the queries in Exercise 3.10 on the above schema, using SQL:1999.
Transcribed Image Text:
employee (person-name, street, city) works (person-nanme, company-name, salary) соmpанy (companyу-нате, city) manages (person-name, manager-name)
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 61% (13 reviews)
a The schema definition is given below Note that backward references can be addedbut they are not so ...View the full answer
Answered By
Mary Njunu
I posses Vast, diversified knowledge and excellent grammar as a result of working in ACADEMIC WRITING for more than 5 years. I deliver work in various disciplines with assurance of quality work. I purpose at meeting the clients’ expectations precisely. Let’s work together for the best and phenomenal grades.
4.90+
928+ Reviews
2551+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer Sciences questions
-
Consider the LIBRARY relational schema shown in Figure 6.14, which is used to keep track of books, borrowers, and book loans. Referential integrity constraints are shown as directed arcs in Figure...
-
Consider the relational schema shown in Figure 26.18. Write active rules for keeping the SUM_COMMISSIONS attribute of SALES_PERSON equal to the sum of the COMMISSION attribute in SALES for each sales...
-
Consider the AIRLINE relational database schema shown in Figure 3.8, which describes a database for airline flight information. Each FLIGHT is identified by a flight NUMBER, and consists of one or...
-
How might Tommy Hilfiger use advertising as a signal? How is a signal sent and how does it work? Suppose that Tommy Hilfigers marginal cost of a jacket is a constant $100 and the total fixed cost at...
-
Assume that Fourth Street Floral does a regression analysis on the next year's data using Excel. The output generated by Excel is as follows: Requirements 1. Determine the firm's cost equation (use...
-
What you learned from writing and presenting the Individual Project, 1) What you still need to learn about writing and presenting an Individual Project, 2) How it relates to the work you've done in...
-
A printed circuit board has eight different locations in which a component can be placed. If four different components are to be placed on the board, how many different designs are possible?
-
Harrison Hotels is considering adding a spa to its current facility in order to improve the list of amenities. Operating the spa would require a fixed cost of $25,000 per year. Variable cost is...
-
Following are the average accounts receivable and net sales reported recently by two large beverage companies ( dollar amounts are stated in millions ) . Average Accounts Receivable Net Sales Molson...
-
A factory uses three production lines to manufacture cans of a certain type. The accompanying table gives percentages of nonconforming cans, categorized by type of nonconformance, for each of the...
-
Give an SQL: 1999 schema definition of the E-R diagram in Figure below, which contains specializations. city street name person ISA credit-rating salary ploye customer ISA officer teller secretary...
-
Consider an employee database with two relations employee (employee-name, street, and city) works (employee-name, company-name, salary) where the primary keys are underlined. Write a query to find...
-
Calculate the ending cash balance of the current month for thefollowing: Beginning cash Prior month sales Current month sales Current purchases Prior month purchases Sale of old equipment Dividend...
-
The cyclotron at TRIUMF accelerates protons from a central injection point outward along an increasing spiral path. Magnets direct the protons around and around until they travel outwards far enough...
-
The experimental value of (AH) for the neutralization reaction calculated in Calorimetry experiment will be smaller than the theoretical value of (AH) for the same reaction. O O Answer True False
-
An object with a charge of 6.1 C and a mass of 0.22 kg is travelling horizontally with a speed of 17.2 m/s into the charged plates shown below. The plates are 3.14 m apart, and there is a potential...
-
A particle is projected from ground with an angle with the horizontal, the x-component of its initial velocity is 50 m/s and it reaches its maximum height in 3 second. The range covered by the...
-
A bullet of mass m = 5 g moving with a speed of v; = 400 m/s is fired into and passes through a block of mass M = 1 kg, as shown in the figure. The block which is initially at rest on a frictionless...
-
How do terms and slang differ within Canadas provinces and territories?
-
Michelles trust is subject to 3.8% surtax on the lesser of the trusts net investment income or the excess of the trusts adjusted gross income over the $12,400 threshold (the highest trust tax rate)....
-
The diagram on the left represents liquid water molecules in a pan. Which of the three diagrams (a, b, or c) best represents the water molecules after they have been vaporized by boiling? (a) (b) (c)
-
Most operating systems for parallel machines (i) allocate memory in a local memory area when a process requests memory, and (ii) avoid moving a process from one core to another. Why are these...
-
In a shared-memory architecture, why might the time to access a memory location vary depending on the memory location being accessed?
-
Explain the distinction between a latch and a lock as used for transactional concurrency control.
-
Starlight.com Starlight.com manufactures bottled wine for retail chains. John Tsang, the controller, believes that the company's standard-costing system is ineffective. An independent consultant...
-
use http://www.principlesofeconometrics.com/stata/beer.dta 2. Describe the dataset: What can you tell me about the data? How could we use this data? Who would care about this data? 3. Choose 2...
-
Timeless Company will manufacture the iSports Watches (64-GB only) and the Standard (128-GB) iWatches for Pear Computer. The critical part of the manufacturing process uses a single machine that...
Study smarter with the SolutionInn App