Please submit a single text file which contains the following: - Relational schemas for task 1 -
Fantastic news! We've Found the answer you've been seeking!
Question:
Please submit a single text file which contains the following:
- Relational schemas for task 1
- SQL statements to create the tables for task 1
- SQL statements to alter the tables for task 1
The SQL statements must be arranged in the correct sequence of execution so that the marker can execute them to create, alter the tables and modify the records.
For part c, it is under task 1 as well. part c carries forward from part b
Transcribed Image Text:
A company hires temporary helpers to help organising events. For each helper, the hours worked on each event and duty (planner or coordinator or crew) performed must be recorded. At the end of the event, a helper will be paid for the total hours worked for the event(s). Helper helper-no ID name address phone Requirements A) location start-date B) Has Payslp ref-no ID amount payment-date 0.1 hours duty 1.1 Work Included in 0.1 For helper-no PromotionEvent location ID1 start-date ID1 end-date 4 OutdoorEvert TicketdEvent pemil-no fee Transform the conceptual schema to a set of relational schemas. Assume, that superset method must be used to implement a generalization (if any). You are not allowed to add the attribute(s) not listed in the conceptual schema to the primary key and candidate keys or modify attribute(s) in the conceptual schema. Based on the relational schemas, provide SQL statements to create the tables. You must choose an appropriate date type and length for each column. You must also include appropriate check constraints and foreign key constraints to ensure data integrity. A company hires temporary helpers to help organising events. For each helper, the hours worked on each event and duty (planner or coordinator or crew) performed must be recorded. At the end of the event, a helper will be paid for the total hours worked for the event(s). Helper helper-no ID name address phone Requirements A) location start-date B) Has Payslp ref-no ID amount payment-date 0.1 hours duty 1.1 Work Included in 0.1 For helper-no PromotionEvent location ID1 start-date ID1 end-date 4 OutdoorEvert TicketdEvent pemil-no fee Transform the conceptual schema to a set of relational schemas. Assume, that superset method must be used to implement a generalization (if any). You are not allowed to add the attribute(s) not listed in the conceptual schema to the primary key and candidate keys or modify attribute(s) in the conceptual schema. Based on the relational schemas, provide SQL statements to create the tables. You must choose an appropriate date type and length for each column. You must also include appropriate check constraints and foreign key constraints to ensure data integrity.
Expert Answer:
Answer rating: 100% (QA)
Task 1 Relational schemas and SQL statements Helper helperno name ... View the full answer
Related Book For
Using Microsoft Excel and Access 2016 for Accounting
ISBN: 978-1337109048
5th edition
Authors: Glenn Owen
Posted Date:
Students also viewed these databases questions
-
2. (a) Use Dijkstra's algorithm to find the shortest path from node A to all other nodes in the network in Fig. 3. Show all intermediate steps. State two properties of Dijkstra's algorithm and show...
-
What strategies can leaders employ to foster a culture of ethical integrity within organizations, integrating principles of ethical leadership theory and transformational leadership approaches ?
-
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...
-
Accounting The Case: Patient Khaled is a 75-year-old man admitted to the hospital for a small bowel obstruction. His medical history includes hypertension. Khaled is on NPO. He has a nasogastric (NG)...
-
The energy transferred from the anterior chamber of the eye through the cornea varies considerably depending on whether a contact lens is worn. Treat the eye as a spherical system and assume the...
-
make a program that does the following: 1) give an example of an abstract class named SpaceShip . It will include: - a data member named numEngines of type int - a data member named name of type...
-
Assume that $y_{i j}$ are i.i.d and follow a normal distribution with variance $\sigma^{2}$. Under the null hypothesis that a factorial effect 0 , a. Show that \[\frac{\bar{y}_{+}-\bar{y}_{-}}{s / 2}...
-
Huff Company presents the following items derived from its December 31, 2016, adjusted trial balance: The following information is also available for 2016 and is not reflected in the preceding...
-
Question 2 of 16 P G Senger's Bike Store provided the following information: Account Information Amount Operating Revenues $225,000 Operating Expenses 130,000 Interest Expense 6,000 Dividend Payments...
-
What are the triads using roman numerals and figured bass numbers for this excerpt? 30-3. Use Roman numerals and figured bass numbers to identify triads in these works. a. Schubert, "Death and the...
-
The tallest man to have ever lived was Robert Waldow. He was last measured in 1940 to be 2.72 meters tall (8 feet 11 inches). Determine the speed that a quarter would have reached bedor contact with...
-
A site is shown in Figure 3.53. R1 and R2 are routers; R2 connects to the outside world. Individual LANs are Ethernets. RB is a bridge router; it routes traffic addressed to it and acts as a bridge...
-
Give the ASN.1 encoding for the following three integers. Note that ASN.1 integers, like those in XDR, are 32 bits in length. (a) 15. (b) 29,496,729. (c) 58,993,458.
-
Suppose hosts A and B have been assigned the same IP address on the same Ethernet, on which ARP is used. B starts up after A. What will happen to As existing connections? Explain how self-ARP...
-
Describe a representation for XML documents that would be more compact and more efficient to process than XML text.
-
The RPC-based NFS remote file system is sometimes considered to have slower-than-expected write performance. In NFS, a servers RPC reply to a client write request means that the data are physically...
-
(1 pt) Match the surfaces with the appropriate descriptions. 1. z = y - 2x 2. x + 2y + 3z2 = 1 3. z = 2x + 3y 4. z = x 5. z = 2x + 3y 6. x + y = 5 7. z = 4 A. horizontal plane B. nonhorizontal plane...
-
Complete the equations for the following equilibria and calculate Keq where the Keq expression includes [HO]. Be sure to enter Keq in proper scientific notation. (a) ammonia (acting as a base) reacts...
-
Create and edit tables for What SUP (use the Ch9-02 file) a. Create a new table for What SUP that includes fields BuyerID, BuyerName, and BuyerPhone. The first field (BuyerID) is a Number data type;...
-
Describe the PV function in Excel and its arguments.
-
What base amount is used for vertical analysis of a balance sheet?
-
How could a security breach on a commercial airlinersWi-Fi network result in a safety problem for the airplane?
-
Given an example of a specification on a computer printer, giving both type of specification and any required values. Take your example from an existing product and identify that product.
-
Given an example of a specification on a digital still camera, giving both type of specification and any required values. Take your example from an existing product and identify that product.
Study smarter with the SolutionInn App