employee (ID, person_name, street, city) works (ID, compапy лате, salary) соmpany (comрапулате, сіty) manages (ID, manager_id) Figure 3.19 Employee database.

Fundamentals of Information Systems
9th Edition
ISBN:9781337097536
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter3: Database Systems And Big Data
Section: Chapter Questions
Problem 4LO
icon
Related questions
Question

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 foreign-key constraints that might be appropriate.

employee (ID, person_name, street, city)
works (ID, compапy лате, salary)
соmpany (comрапулате, сіty)
manages (ID, manager_id)
Figure 3.19 Employee database.
Transcribed Image Text:employee (ID, person_name, street, city) works (ID, compапy лате, salary) соmpany (comрапулате, сіty) manages (ID, manager_id) Figure 3.19 Employee database.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Arrays
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781337097536
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
MIS
MIS
Computer Science
ISBN:
9781337681919
Author:
BIDGOLI
Publisher:
Cengage
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning