Question: Using SQL , create tables according to the given schema shown in Figure 1 and the ER diagram is shown in Figure 2 . You
Using SQL create tables according to the given schema shown in Figure and the ER diagram is shown in Figure You must create your database using exactly the same names case sensitive for tables and attributes. You can decide the type of each attribute. You are required to specify the following constraints: domain constraint, entity integrity constraint, key constraint, and referential integrity constraint.
See Figure
Then do again for Figure
Populate the database. Insert at least two tuples to the Sell table. For each of the other tables, insert at least one tuple.
Execute one delete statement to the Sell table. You can decide the delete condition.
Execute one update statement to the Drug table by changing the value of formula
Specify the statements to drop all the tables. Pay attention to the order of the drop statements in order to drop everything successfully.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
