Create two tables based on the E-R model shown in Figure 4-41 and the business rules in
Question:
Figure 4-41:
¢ Use your judgment for column datatypes and sizes.
¢ Proj# and Wo# are used to uniquely identify rows in these tables.
¢ Each project added must be assigned a name, and no duplicate project names are allowed.
¢ Each work order must be assigned to 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.
Create and execute the SQL statements needed to enforce the data relationships among these tables.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: