Question: Create the database tables per the relational schema provided. What does this foreign key constraint status mean? Please provide your answer as a comment to
Create the database tables per the relational schema provided.
What does this foreign key constraint status mean? Please provide your answer as a "comment" to your sql code and tag your answer with 1.1.1 (similar to the way I explain each line of code).
Which foreign key constraint status do you prefer in your database: RESTRICT DELETE (Default Status) vs. 'ON DELETE CASCADE' and 'ON UPDATE CASCADE'? Please provide your reasons as a "comment" to your sql code and tag your answer with 1.1.2.
SALES TRANSACTION STransactionID Qty Sales SysDate Time SalesRepID (FK) SALES REP SalesRepID RepName TerritoryID (FK) TERRITORY TerritoryID TerritoryName
Step by Step Solution
3.37 Rating (150 Votes )
There are 3 Steps involved in it
Based on the relational schema provided well create three tables TERRITORY SALESREP and SALESTRANSACTION The TERRITORY table will hold the information ... View full answer
Get step-by-step solutions from verified subject matter experts
