Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Tracking Database Create two tables based on the E-R model shown the below; and the business rules in the following list for a work order

Tracking Database Create two tables based on the E-R model shown the below; and the business rules in the following list for a work order tracking database. Include all constraints in the CREATE TABLE statements. You should have only two CREATE TABLE statements and no ALTER TABLE statements. Name all constraints except NOT NULLS. Use your judgment for column data types and sizes. Project number and work number are used to uniquely identify roles in the tables. Each project added must be assigned a name and no duplicate project names are allowed. Each work order must be assigned a valid project when added and be assigned a description and number of hours. Each work order added must have a different description. The number of hours assigned to a work order should be greater than zero. If data is provided for the Wo_complete column, only "Y" or "N" are acceptable values. INSTRUCTIONS Create and execute the SQL statements needed to enforce the data relationships among the tables. In a word document, copy the SQL statements as well as the Oracle spooled output results. Be sure to insert proper subheadings identifying each section (i.e. SQL statements, Oracle spooled output results, etc.). In order to complete this assignment please follow these guidel

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Database And Expert Systems Applications 33rd International Conference Dexa 2022 Vienna Austria August 22 24 2022 Proceedings Part 1 Lncs 13426

Authors: Christine Strauss ,Alfredo Cuzzocrea ,Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil

1st Edition

3031124227, 978-3031124228

More Books

Students also viewed these Databases questions