Question 1 (18 marks, 3 marks each). For each of the following statements, represent it using...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Question 1 (18 marks, 3 marks each). For each of the following statements, represent it using CREATE TABLE statement. Note that there are both entity sets and relationship sets to be considered. 1. Patients attend doctors. You want to store the attending information and the date of attending. Patients identified by pid. Doctors is identified by did. 2. Continue 1, each patient attends doctors at most once. 3. Continue 2, each patient attends doctors at least once. 4. Continue 1, only existing doctors can be attended by a patient. 5. Continue 1, every doctor must be attended by a patient. 6. Continue 1, each of (Name, Address) and (Name, Age) uniquely identifies a patient. Question 1 (18 marks, 3 marks each). For each of the following statements, represent it using CREATE TABLE statement. Note that there are both entity sets and relationship sets to be considered. 1. Patients attend doctors. You want to store the attending information and the date of attending. Patients identified by pid. Doctors is identified by did. 2. Continue 1, each patient attends doctors at most once. 3. Continue 2, each patient attends doctors at least once. 4. Continue 1, only existing doctors can be attended by a patient. 5. Continue 1, every doctor must be attended by a patient. 6. Continue 1, each of (Name, Address) and (Name, Age) uniquely identifies a patient.
Expert Answer:
Answer rating: 100% (QA)
You can represent each of the given statements using SQL CREATE TABLE statements as follows 1 Patien... View the full answer
Related Book For
Modern Systems Analysis And Design
ISBN: 9780134204925
8th Edition
Authors: Joseph Valacich, Joey George
Posted Date:
Students also viewed these programming questions
-
Summative Assessment: Juvenile vs. Adult Justice System Paper Exam Content Scenario: You are interviewing for a position as a law enforcement officer who is expected to interact regularly with...
-
A small consulting company wants to make the switch to QuickBooks Online. All of their expenses are paid at the time they are incurred, so there is no need to track bills in the system. There is only...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Light Sweet Petroleum, Inc., is trying to evaluate a generation project with the following cash flows: Year Cash Flow 0 %u2013$ 39,200,000 1 63,200,000 2 %u2013 12,200,000 a-1 What is the NPV for the...
-
Water at 20°C is to be siphoned through a tube 1 m long and 2 mm in diameter, as in Fig. P6.14. Is there any height H for which the flow might not be laminar? What is the flow rate if H = 50 cm?...
-
The T-s diagram in Fig. 10.15 indicates an ideal refrigeration cycle operating between 120 kPa and 1200 kPa. If R134a is the refrigerant, the compression work is nearest: (a) 42 klilcg (b) 47 kJ/kg...
-
If a material is restricted to deform and heated, it will develop (a) Tensile stress (b) Compressive stress (d) Shear stress (d) No stress
-
(Postretirement Benefit Worksheet) Using the information in *E20-19, prepare a worksheet inserting January 1, 2010, balances, and showing December 31, 2010, balances. Prepare the journal entry...
-
An employer has scheduled candidates for interviews. When one person is told of her interview time, she says she is unavailable due to caregiving responsibilities, and asks for another time. The...
-
What was the organizational problem in this story? Can someone be responsible for something over which that person does not have authority? How should the new manager have handled Billys request to...
-
Due to popular demand, the instructor is contemplating having the students play a third round of the Littlefield Technologies simulation this semester. For this potential round the data will be much...
-
A steam power plant is to generate 200 MW of power by combustion of natural gas. The available fuel can produce 5 10 9 kJ/hr from heat of combustion. The available cold reservoir is a nearby lake,...
-
Suppose a gilt and an index-linked gilt maturing in 2055 on the same date have a coupon rate of 4.25% and 1.25%, and a redemption yield of 3.40% and -0.06%, respectively. Compute break-even inflation...
-
The Memorandum One of the most often used forms to business writing is still the memo - even in its electronic form. It often confirms announces company decisions and policies. You will notice the...
-
The six-month forward price of the underlying S&P 500 index is 1,500, and the volatility of the S&P 500 index is 20.00% per annum. Calculate the price of a six-month European put option on the spot...
-
Hello, please help me to answer the following questions below. Im stuck! 1. Define the following elements of the marketing mix: a. customer service levels b. distribution c. pricing 2. Which...
-
By explicitly computing the line integral and surface integral, verify that Stokes' theorem holds for the vector field F(x, y, z)=-yi+xj-2k where S is the cone z = x + y, 0 4, oriented downward.
-
What are the key dimensions of critical thinking 2. Watch the NBC Learn video on Diet Scams. What types of claims are made in this video Are they valid Elaborate on your responses. Discuss this video...
-
What is the relationship between DFDs and entries in the project dictionary or CASE repository?
-
At a local bank, loan officers must evaluate loan applications before approving or denying them. During this evaluation process, many factors regarding the loan request and the applicants background...
-
Which of the four phases of the project management processdo you feel is most challenging? Why?
-
Obtain the quasi steady lift coefficient, Eq. 8.51, and the boundary layer edge velocity, Eq. 8.52 for a chordwise flexible and parabolically cambered thin airfoil whose equation is given by Eq....
-
Derive the equations of continuity, Eq. 8.44, and the vorticity transport, Eq. 8.45, for skewed coordinates as shown in Fig. 8.38. Eq. 8.44 Eq. 8.45 Fig. 8.38 de = tan -[-(h+WaLE) /U]
-
Obtain the time dependent but steady lift coefficient, Eq. 8.48, and the boundary layer edge velocity, Eq. 8.49 for a chordwise flexible parabolically cambered thin airfoil whose equation is given by...
Study smarter with the SolutionInn App