Menu

(Solved) : Create Two Tables Based E R Model Shown Figure 4 41 Business Rules Following List Work Ord Q35925493 . . .

Create two tables based on the E-R model shown in Figure 4-41 and the business rules in the following list for a work order t

Create two tables based on the E-R model shown in Figure 4-41 and the business rules in the following list for a work order tracking database. Include all the 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 FIGURE 4-41 Workorders E-R model Project Workorders Proj# P name P desc P budget WO# Proj# Wo desc Wo assigned Wo hours Wo start Wo due Will hold a name for the person assigned Dates Will hold a Y or N Wo_complete .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 Show transcribed image text

Expert Answer


Answer to Create Two Tables Based E R Model Shown Figure 4 41 Business Rules Following List Work Ord Q35925493 . . .

OR