Question
Using your ERD from the Module 3 CT assignment, along with any design changes you wish to make, develop a spreadsheet of table specification metadata,
Using your ERD from the Module 3 CT assignment, along with any design changes you wish to make, 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 SQL Server 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. At the top of your Word file include your name, and the date.
I have the metadata already, just needing help with the SQL DDL and DML
redeve date date ship date order ld cust id order status number places pays unit cost all-quatity order id payment has item order detals inventory det ld itemStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started