Question: Using the following Tables: Table A: Primary Key: PKA No foreign Keys. Table B: Primary Key: PKB Foreign Key: PKA (references primary key PKA
Using the following Tables: Table A: Primary Key: PKA No foreign Keys. Table B: Primary Key: PKB Foreign Key: PKA (references primary key PKA from Table A) Table C: Primary Key: PKC Foreign Key: PKB (references primary key PKB from Table B) Table D: Primary Key: PKC and PKE (a composite key) Foreign Key: PKC (references primary key PKC from Table C) Foreign Key PKE (references primary key PKE from Table E) Table E: Primary Key: PKE No foreign keys. 1. Provide SQL statements to create all the tables with their primary keys and foreign keys. Assume the tables only contain primary keys and foreign keys. Provide your completed SQL statements here: 2. Run the SQL statements to create all of these tables in MySQL. Create the tables in the testbed database. Provide a screenshot of the Entity Relationship Diagram of your finished tables using the Reverse Engineering tool. Paste your completed screenshot here:
Step by Step Solution
There are 3 Steps involved in it
The primary key will be placed on the One sided table while the foreign key will be placed on the Ma... View full answer
Get step-by-step solutions from verified subject matter experts
