Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please submit a single text file which contains the following: - Relational schemas for task 1 - SQL statements to create the tables for task

  

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

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.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Task 1 Relational schemas and SQL statements Helper helperno name ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Using Microsoft Excel and Access 2016 for Accounting

Authors: Glenn Owen

5th edition

1337109048, 1337109045, 1337342149, 9781337342148 , 978-1337109048

More Books

Students also viewed these Databases questions

Question

Explain why needs motivate our behavior.

Answered: 1 week ago

Question

Describe the PV function in Excel and its arguments.

Answered: 1 week ago

Question

What base amount is used for vertical analysis of a balance sheet?

Answered: 1 week ago