Reference no: EM131608404
Creating, Populating, and Querying Tables
Using your ERD from the Module 3 CT assignment (attached), along with any design changes you wish to make (please merge the 2 order tables), develop a spreadsheet of table specification metadata, in the format presented in Module 4, for the design of physical relational database tables, their columns, and necessary integrity constraints.
Then, based on your table specification metadata and using your selected RDBMS from Module 4 (i.e., SQL Server, Oracle, or MySQL) and DDL SQL (i.e. CREATE TABLE, DROP TABLE, and ALTER TABLE statements), develop an SQL script file to create the corresponding relational database tables.
Then, using an SQL script file of DML SQL INSERT statements, populate each table with two rows of data.
Finally, using an SQL script file of SQL SELECT statements, perform queries to display all data in each table.
Submit your Excel spreadsheet of table specification metadata. Submit the following outputs of your SQL script file processing, in this order and appropriately labeled, in a single Word file:
- Your DDL SQL and results used to create your tables
- Your DML SQL INSERT statements and results used to populate your tables
- Your SQL SELECT statements and results showing the contents of each table
You must show all of your SQL as it executed in Management Studio or other development environments. This includes the results returned by your selected RDBMS.