Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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 item

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

3rd Edition

0128012757, 978-0128012758

More Books

Students also viewed these Databases questions

Question

Know how to use reservations systems to inventory demand.

Answered: 1 week ago

Question

Be familiar with the integrative servicescape model.

Answered: 1 week ago