Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i need help with this question: Question #2 - 10 points The marketing team wants a list of all the products for all customers that

i need help with this question:

Question #2 - 10 points

The marketing team wants a list of all the products for all customers that they can include in an email. You'll need information from the StockItems and Colors tables in the Warehouse schema, and the Suppliers table in the Purchasing schema. Include the Stock Item ID, name, Color, brand, size, lead time, unit price, and Supplier Name. For things that do not have a color, use "unknown" as the return value.

Sort the final results by supplier, unit price (lowest to highest) and Stock Item name.

This query will return 227 rows. 99 items will have an unknown color . this is the schema below . and the table names are : Warehouse.StockItems , Purchasing.Suppliers and Warehouse.Colors. image text in transcribed

Colors Archive (Warehouse) ColorID Colors Archive Warehouse) ColorName LastEdited By ValidFrom ValidTo StockItems Archive (Warehouse) StockItemID StockitemName SupplierlD ColorID UnitPackagels OuterPackageld Brand Size Lead Time Days QuantityPerOuter IsChillerStock Barcode TaxRate UnitPrice Recommended RetailPrice TypicalWeightPerUnit Marketing Comments InternalComments Photo CustomFields Tags SearchDetails LastEdited By ValidFrom ValidTo Suppliers Archive (Purchasing) Supplier SupplierName SupplierCategoryID PrimaryContact PersonlD AlternateContact PersonlD DeliveryMethodID DeliveryCityID PostalCityID Supplier Reference BankAccountName BankAccount Branch BankAccountCode BankAccount Number BankinternationalCode PaymentDays InternalComments PhoneNumber FaxNumber WebsiteURL Delivery AddressLine1 DeliveryAddressLine2 Delivery PostalCode Delivery Location PostalAddressLine1 Postal AddressLine2 Postal PostalCode LastEdited By ValidFrom ValidTo

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

MFDBS 89 2nd Symposium On Mathematical Fundamentals Of Database Systems Visegrad Hungary June 26 30 1989 Proceedings

Authors: Janos Demetrovics ,Bernhard Thalheim

1989th Edition

3540512519, 978-3540512516

More Books

Students also viewed these Databases questions

Question

List and define the common attributes of the tasks of a WBS.

Answered: 1 week ago

Question

1. How might volunteering help the employer and the employee?

Answered: 1 week ago