Spring 2023 ITM.304.HSF1 Managing Data Structures

Learning Goal: I’m working on a mysql exercise and need an explanation and answer to help me learn.

1. Review SQL below. Replacing myTable and Column NameswithTables and ColumnsNames in YOUR Database write SQL statement and run it.

Select

s.SalesOrderDate, s.SaleOrderID, s.Quantity,
m.MarketName, r.RegionName ,c.CustomerName,
p.ProductName, f.ProductFamilyName,
a.AgentName, mm.ManagerName, mm.Commissions,
p.UnitPrice * s.Quantity as OrderAmount,
p.UnitPrice * s.Quantity * mm.PcntCommissions *0.01 as OrderCommissionsAmmount

FROM SalesOrder s, Customer c, Market m, Region r, Product p, ProductFamily f, Agent a, Manager mm

WHERE

c.MarketID = m.MarketID and
c.RegionID = r.RegionID and
c.CustomerID = s.CustomerID and
s.ProductID= p.ProductID and
p.ProductFamilyID = f.ProductFamilyID and
s.AgentID = a.AgentID and
a.ManagerID = mm.ManagerID ;

Make sure OrderAmount and CommissionsAmmount are calculated.
SQL must return 25 records

2. Using SQL statement from question 1

Run :

Create view Week6_sales_vi as put your SQL from above here ;

UPLOAD and Submit SQL statement in PDF if the view returned data(25 records ) only.

Do you need help with this paper? πŸ† - Let us help you write it!

Why Choose Our Essay Writing Service?

  • βœ… Original writing: Our expert writers will write each paper from scratch, ensuring complete originality, zero plagiarism and AI free content.
  • βœ… Expert Writers: Our seasoned professionals are ready to deliver top-quality papers tailored to your needs.
  • βœ… Guaranteed Good Grades: Impress your professors with outstanding work.
  • βœ… Fast Turnaround: Need it urgently? We've got you covered!
  • βœ… 100% Confidentiality: Customer privacy is our number one priority. Your identity is anonymous to our writers.
πŸŽ“ Why wait? Let us help you succeed! Our Writers are waiting..

Get started

Starts at $9 /page

How our paper writing service works

It's very simple!

  • Fill out the order form

    Complete the order form by providing as much information as possible, and then click the submit button.

  • Choose writer

    Select your preferred writer for the project, or let us assign the best writer for you.

  • Add funds

    Allocate funds to your wallet. You can release these funds to the writer incrementally, after each section is completed and meets your expected quality.

  • Ready

    Download the finished work. Review the paper and request free edits if needed. Optionally, rate the writer and leave a review.