Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello, I am using SQL AdventureWorks database and have to answer the following multi-part question, but I am at a loss of which AdventureWorks table

Hello, I am using SQL AdventureWorks database and have to answer the following multi-part question, but I am at a loss of which AdventureWorks table fields are needed in the query to get the desired result after it has been run in SQL. I beleive this is a computer science question, but it may also be business operations management. Any help would be greatly appreciated.

Attached below are the table structures from AdventureWorks, and instructions provided by my instructor that he claims provides all the necessary information. Any help

1. Identify most and least profitable products, subcategories, and categories for retail and wholesale customers by executing a query.

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

PurchaseOrderDetail (F Customer (Sales) ProductModel (ProducProductDut Accountbr owguid Quantty ader (Sales) SpecialOfferProduct (S SalesT rritory (Sales) Sales OrderDetail (Sales) TransactionHistory (Production) TaxAme Product (Production) PurchaseOrderDetail (F Customer (Sales) ProductModel (ProducProductDut Accountbr owguid Quantty ader (Sales) SpecialOfferProduct (S SalesT rritory (Sales) Sales OrderDetail (Sales) TransactionHistory (Production) TaxAme Product (Production)

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions