Design a database to keep track of information for restaurants. Assume that the following requirements were...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Design a database to keep track of information for restaurants. Assume that the following requirements were collected: • Each restaurant has a name, city and phone number. . Each restaurant is owned by at least one owner. We need to keep track of an owner's SSN, name, city, address, and phone number. Each restaurant serves many different foods. Each food has a name, type of food, country of food, and spice level. Each customer may like many different foods. Each customer has his/her SSN, name, birth year, and gender. ER Diagram: Relational: O-SSN 3 Name Phone Spice-level Country Name Owner C-SSN m Relationship Restaurant Serves m Food m City Address Phone Restaurent-Name City Food-Name Likes m 848 Customer Type Gender Birth-Year Relational: Owner (O-SSN[PK], Name, City, Address, Phone) Restaurant (Restaurant-Name[PK], City, Phone) Relationship (O-SSN[FK], Restaurant-Name[FK]) Food (Food-Name, Type, Spice-level, Country) Serves (Restaurant-Name[FK], Food-Name[FK]) Customer (C-SSN[PK], Name, Gender, Birth-Year) Likes (C-SSN[FK], Food-Name[FK]) Scenario Design a database to keep track of information for a hospital. Assume that the following requirements were collected: • Many patients get admitted in a hospital. Each patient has a name, ss#, address, and name of insurance provider. We also need to keep track of the date each patient gets admitted and gets checked out. . Many doctors work in a hospital. Each doctor has a name, doctor's ss#, address, and specialization. Doctors see patients and recommend some test. Each test is performed by a doctor. Each test has a test identification number, name of the test, and the outcome of the result. We also need to keep track of the date and time each test is performed. Design a database to keep track of information for restaurants. Assume that the following requirements were collected: • Each restaurant has a name, city and phone number. . Each restaurant is owned by at least one owner. We need to keep track of an owner's SSN, name, city, address, and phone number. Each restaurant serves many different foods. Each food has a name, type of food, country of food, and spice level. Each customer may like many different foods. Each customer has his/her SSN, name, birth year, and gender. ER Diagram: Relational: O-SSN 3 Name Phone Spice-level Country Name Owner C-SSN m Relationship Restaurant Serves m Food m City Address Phone Restaurent-Name City Food-Name Likes m 848 Customer Type Gender Birth-Year Relational: Owner (O-SSN[PK], Name, City, Address, Phone) Restaurant (Restaurant-Name[PK], City, Phone) Relationship (O-SSN[FK], Restaurant-Name[FK]) Food (Food-Name, Type, Spice-level, Country) Serves (Restaurant-Name[FK], Food-Name[FK]) Customer (C-SSN[PK], Name, Gender, Birth-Year) Likes (C-SSN[FK], Food-Name[FK]) Scenario Design a database to keep track of information for a hospital. Assume that the following requirements were collected: • Many patients get admitted in a hospital. Each patient has a name, ss#, address, and name of insurance provider. We also need to keep track of the date each patient gets admitted and gets checked out. . Many doctors work in a hospital. Each doctor has a name, doctor's ss#, address, and specialization. Doctors see patients and recommend some test. Each test is performed by a doctor. Each test has a test identification number, name of the test, and the outcome of the result. We also need to keep track of the date and time each test is performed.
Expert Answer:
Answer rating: 100% (QA)
a In this scenario the condition f is continuous over a b is fulfilled because the velocity function vt and the position function st are both given as ... View the full answer
Related Book For
The Essentials of Statistics A Tool for Social Research
ISBN: 978-1111829568
3rd edition
Authors: Joseph F. Healey
Posted Date:
Students also viewed these computer engineering questions
-
The following balances as at the 1 January 2020, were extracted from the accounting records of De Ligt Wholesalers. Balances at 1 January 2020 Land and Buildings Motor Vehicles at cost Accumulated...
-
In problem 3.1 at the end of Chapter 3, you calculated measures of central tendency for six variables for freshman and seniors. Three of those variables are reproduced here. Calculate the mean (if...
-
In problem 3.5 at the end of Chapter 3, you calculated measures of central tendency for four variables for 15 respondents. Two of those variables are reproduced here. Calculate the mean (if...
-
The following are selected items from the accounting records of Georgia Peach for the year ended December 31, 2015: Note payable to SmithField Bank . . . . . . . . . . . . . . . . . . . . . . . . . ....
-
This table indicates the freezing and boiling points of several molecules: Molecule Freezing Point (C) Boiling Point (C) Water 0 100 Carbon tetrachloride (CCl4) - 23 77 Methane (CH4) - 182 - 164...
-
A car drives over the top of a hill that has a radius of \(50 \mathrm{~m}\). What maximum speed can the car have without flying off the road at the top of the hill?
-
Aaron Reed, a photographer, was in a dispute with Ezelle Investment Properties, Inc., over Ezelle allegedly using one of Reeds photographs without permission. Reed sent Ezelle a cease-and-desist...
-
Listed below are several types of accounting data that might be coded. For each data item, recommend a type of code (mnemonic, sequence, block, or group) and support your choice. a. Employee...
-
28. Below is the model of a three-dimensional structure. Draw the front view of this model. Each cube is exactly inch in length, width, and height. Use a scale of 2:1. (2 marks) Back Top Front Left...
-
The pesticide Atrazine (C 8 H 14 C1N 5 , mol wt. 216 g/ mol) degrades in soil by a first-order reaction process. Consider the situation shown in the figure below, where there is a spill of solid...
-
The larger of two numbers is four more than the smaller number. If the sum of the numbers is 74. find the number?
-
. Draw a sample. Draw a random sample with size sample looo from the f Transform data to have the same marginals as your above marginal fitting data and compare the plot with the plots for the...
-
Using the ABC modal response question : Explain the concept of "unlimited liability". Why does a business owner want to avoid type of liability?
-
Please read the attached 2 articles related to how marketing is evolving and how people are now responding to marketing. Then answer the following questions: 1. Give me a brief summary of both...
-
Consider your industry -- how does The Internet of Things (IoT) and Big Data currently play into your job, your organization and the industry? Are these two things connected and if so, how? If not,...
-
Empowerment is both a process and an outcome. Empowerment comes from within a person and involves choice; we cannot empower another. As such, how can you foster your own sense of empowerment as a...
-
1. Show that the following grammar is ambiguous: SAU SVC UBC V AB A a A f B b C c Cg where upper case letters are nonterminals, lower case letters are terminals, and S is the start symbol. Give an...
-
What are the principal alloying elements in SAE 4340 steel?
-
At a large urban college, about half the students live off campus in various arrangements and the other half live in dormitories on campus. Is academic performance dependent on living arrangements?...
-
Statewide, the police clear by arrest 35% of the robberies and 42% of the aggravated assaults reported to them. A researcher takes a random sample of all the robberies (N = 207) and aggravated...
-
The following table presents the scores of 15 states on three variables. Compute r and r2 for each combination of variables. Write a paragraph interpreting the relationship among these three...
-
Do you think the trend discussed in the case will help companies hire more skilled managers and employees to staff foreign operations? Explain. According to a recent report by the Chronicle of Higher...
-
Some companies agree that the move toward internationalization by U.S. universities primarily reflect an attempt to get more money because foreign buyers are willing to pay top dollar to obtain a...
-
Form teams of five. Each team will come up with a list of five positives and five negatives for the trend discussed in the case. Each team will outline a set of implications of what this trend means...
Study smarter with the SolutionInn App