Consider the employee database of Figure 4.12. Give an SQL DDL definition of this database. Identify referential-integrity
Question:
Consider the employee database of Figure 4.12. Give an SQL DDL definition of this database. Identify referential-integrity constraints that should hold, and include them in the DDL definition.
Figure 4.12.
Transcribed Image Text:
salary) employee (ID, person_name, street, city) works (ID, company_name, company (company_name, city) manages (ID, manager_id)
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 50% (12 reviews)
DDL Data definition language in SQL is used to CREATE ALTER or DELETE objects from database DDL of d...View the full answer
Answered By
Anmol Rai
I have an experience in Software Development and web designing. After leaving job, I started tuitions in subject Computer and Mathematics. I have working as a Tutor at home for 6 years.
0.00
0 Reviews
10+ Question Solved
Related Book For
Database System Concepts
ISBN: 9780078022159
7th Edition
Authors: Abraham Silberschatz, Henry F. Korth, S. Sudarshan
Question Posted:
Students also viewed these Computer science questions
-
Give an SQL schema definition for the employee database of Figure 3.19. Choose an appropriate domain for each attribute and an appropriate primary key for each relation schema. Include any...
-
Consider the employee database of Figure 3.19. Give an expression in SQL for each of the following queries. a. Give all employees of First Bank Corporation a 10 percent raise. b. Give all managers of...
-
Consider the employee database of Figure 2.17. Give an expression in the relational algebra to express each of the following queries: a. Find the ID and name of each employee who works for BigBank....
-
Accounting Today identified top accounting firms in 10 geographic regions across the United States. All 10 regions reported growth in 2016. The Southeast and Gulf Coast regions reported growths of...
-
Michelle Fontaine runs an outdoor adventure company called Call of the Wild Ltd. Her busiest months are June through September, although, if the weather holds, she extends her excursions into October...
-
Extend the results of Problem 2.4 to obtain the Laplace transform of t2.
-
What items should a communications management plan address? How can a stakeholder analysis assist in preparing and implementing parts of this plan? LO.1
-
The following data were selected from the records of Tunga Company for the year ended December 31, 2015: The company sells merchandise for cash and on open account with credit terms 2/ 10, n/ 30....
-
The Superior Chemical Company Ltd. refines a variety of petrochemical products. The following data is from the firm's Altona plant. Work in process, August 1 1,000,000 liters Direct material 100%...
-
Write a program that will take as input two Web page URLs and find a path of links from one to the other. What is an appropriate search strategy is bidirectional search a good idea? Could a search...
-
To test if a query specified in English has been correctly written in SQL, the SQL query is typically executed on multiple test databases, and a human checks if the SQL query result on each test...
-
We expect the constraint an instructor cannot teach sections in two different classrooms in a semester in the same time slot to hold. a. Write an SQL query that returns all (instructor, section)...
-
An Italian wholesaler of Mexican crafts is considering the importing of rugs. The rugs are hand-woven in southern Mexico and use natural dyes. The rugs cost an average of 250 including transportation...
-
What are the major immediate concerns for the HR manager in Austral Group SAA when merging two different organizational cultures - in this case, Peruvian and Norwegian cultures?
-
Explain the relation between the corporate, business and functional strategies. Please produce an in-depth explanation.
-
Consider the problem of terrorism during Radical Reconstruction. If you had been an adviser to the President, how would you propose to deal with the problem? Give a minimum of TWO examples and fully...
-
describe at least one element of an Airport Master Plan. Discuss the importance of this element and how it fits into the overall Airport Master Plan document to include its processes and objectives.
-
It is suggested that Wikipedia has replaced the hardback encyclopedia books, such Encyclopedia Brittanica. What other ways do you foresee technology changing businesses that have been around for...
-
Find the critical values X 2 R and X 2 L for the level of confidence c and sample size n. c = 0.80, n = 51
-
(a) Water flows through the nozzle of a garden hose. Find an expression for m in terms of line pressure P 1 , ambient pressure P 2 , inside hose diameter D 1 , and nozzle outlet diameter D 2 . Assume...
-
Explain the distinction between a type x and a reference type ref(x). Underwhat circumstances would you choose to use a reference type?
-
Consider the E-R diagramin Figure, which contains composite, multivalued and derived attributes. a. Give an SQL: 1999 schema definition corresponding to the E-R diagram. Use an array to represent 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...
-
A person purchased a $181,873 home 10 years ago by paying 20% down and signing a 30-year mortgage at 8.4% compounded monthly. Interest rates have dropped and the owner wants to refinance the unpaid...
-
3 . Accounting.. How does depreciation impact financial statements, and what are the different methods of depreciation?
-
NEED THIS EXCEL TABLE ASAP PLEASE!!!! Presupuesto Operacional y C lculo del COGS Ventas Proyectadas: Ventas Proyectadas: $ 4 5 0 , 0 0 0 Precio por unidad: $ 4 5 0 Unidades vendidas: 4 5 0 , 0 0 0 4...
Study smarter with the SolutionInn App