Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Create a query that will show the name of those employees who sold items during the month of December in 2010. Include in your

1. Create a query that will show the name of those employees who sold items during the month of December in 2010. Include in your output the first and last name of each employee and the order date. Order your results by order date. My output looked like the following:

FirstName lastname OrderDate

--------------- --------------- ----------

Althea Timothy 2010-12-10

Ben Axch 2010-12-15

Ben Axch 2010-12-20

2.

Create a query that will show the name of those employees who sold items during the month of December in 2010. Include in your output the first and last name of each employee and the order date. Order your results by order date. My output looked like the following:

FirstName lastname OrderDate --------------- --------------- ---------- Althea Timothy 2010-12-10 Ben Axch 2010-12-15 Ben Axch 2010-12-20

3.

Create a query that will show how much money was spent by those people living in Clinton Township. Include in your output the first and last name as one column, the subtotal of what they spent, the sales tax and the grand total. Make sure you round your sales tax to 2 decimals. Order your output by the customer last name. My output looked like the following (I shortened my money columns due to page size. You do not have to decrease the size of your columns):

Customer Name Subtotal Sales Tax Total ------------------------------- ------------ ---------- ---------- Patricia Jones 48.00 2.88 50.88  Paul Jones 19.70 1.18 20.88  Tara Roswell 4.49 0.27 4.76  Simon Tara 145.00 8.70 153.70  Theodore Turner 16.25 0.98 17.23 image text in transcribed 

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

Advanced Database Systems For Integration Of Media And User Environments 98

Authors: Yahiko Kambayashi, Akifumi Makinouchi, Shunsuke Uemura, Katsumi Tanaka, Yoshifumi Masunaga

1st Edition

9810234368, 978-9810234362

More Books

Students also viewed these Databases questions

Question

How would we like to see ourselves?

Answered: 1 week ago

Question

How can we visually describe our goals?

Answered: 1 week ago

Question

What metaphors might describe how we work together?

Answered: 1 week ago