Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Sales 1 . Create a query to expand the sales and sales items table. It should include the order# , customer# , sale _ date,

Sales
1. Create a query to expand the sales and sales items table. It should include the order#,customer#, sale_date, truck_vin, cash_receipt#, store#, qty_sold, sale_price, and sale_amt, where sale_amt is the sales items amounts by multiplying the quantity sold times the sale price (sale_amt = qty_sold*sale_price). Remember to restrict transactions to the 1st quarter. Name this query Sales Detail Q1.
2. Accumulate sales by store during the quarter. Name the sum variable as Revenue and name this query Sales Revenue by Store.
Cost of Goods Sold
1. Extend the flower purchase items by multiplying the quantity purchased times the purchase price (purch_amt= qty_purch* purchase_price). Also include purchase#, purchase_date, check#, store#, inventory#, qty_purch, purchase_price in the result.
Restrict transactions to the 1st quarter. Name this query Purchases Flowers Detail Q1.
2. Accumulate flower purchases as cost of goods sold by store during the quarter. Name the sum variable as COGS and name this query Purchases (COGS) by Store.

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

Advances In Spatial Databases 2nd Symposium Ssd 91 Zurich Switzerland August 1991 Proceedings Lncs 525

Authors: Oliver Gunther ,Hans-Jorg Schek

1st Edition

3540544143, 978-3540544142

Students also viewed these Databases questions

Question

1. What is Ebola ? 2.Heart is a muscle? 3. Artificial lighting?

Answered: 1 week ago