Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Reposting for a second opinion: Would someone please assist in writing some SQL code for the attached entity relationship diagram? Below you will find what

Reposting for a second opinion:

Would someone please assist in writing some SQL code for the attached entity relationship diagram? Below you will find what is needed for the code:

1.SQL Data Definition Language (DDL) and Base Tables with Data/Views.

Create a base table. Write the SQL to create a table based on one of your entities. Be sure to identify the primary key as part of your SQL syntax.

Create a view. Write the SQL to create a view on the base table.

Show the base tables with data. Show a base table along with six rows containing data for three entities in your entity-relationship diagram. (Display each table in the form of an MS Word table.)

2.SQL Insert/Update/Delete Manipulation.

Insert a row. Write a SQL query to insert a row into one of your base tables.

Update a row. Write a SQL query to change a data value in the inserted row.

Delete a row. Write a SQL query to delete the row from your base table.

3.SQL Data Queries. For 3.1 through 3.7, write the SQL query AND show the output using the data in your base tables.

Write a SQL query using a comparison operator (e.g., =, >,

Write a SQL query using the AND or OR operator.

Write a SQL query using the BETWEEN or LIKE operator.

Write a SQL query using a built-in function.

Write a SQL query using the GROUP BY clause.

Write a SQL join query using two or more base tables.

Write a SQL subquery using two or more base tables.image text in transcribed

Supplier Confirmation Number delivery date Customer Number Delivery Confirmation Number Delivery Date Customer Number Order Detail Delivery Confirmation Number PO Number Product Catalog Number Customer Number Order Detail Catalog Number PO Number Quantity Order PO Number Order Date Authorization Code Purchasing Authorization Code Department Code Department Department Code Supplier Confirmation Number delivery date Customer Number Delivery Confirmation Number Delivery Date Customer Number Order Detail Delivery Confirmation Number PO Number Product Catalog Number Customer Number Order Detail Catalog Number PO Number Quantity Order PO Number Order Date Authorization Code Purchasing Authorization Code Department Code Department Department Code

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

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

More Books

Students also viewed these Databases questions

Question

What are the major social responsibilities of business managers ?

Answered: 1 week ago

Question

What are the skills of management ?

Answered: 1 week ago

Question

What is the purpose of the Salary Structure Table?

Answered: 1 week ago

Question

What is the scope and use of a Job Family Table?

Answered: 1 week ago