Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q1 List all order numbers and their ship dates for orders shipped after March 15, 2012. Q2 List all customers that live in Massachusetts or

Q1 List all order numbers and their ship dates for orders shipped after March 15, 2012.

Q2 List all customers that live in Massachusetts or California. Show the first and last names together in the same column, then city, then state. There will be three (3) columns in your report with data looking like this:

Tom Yates Dallas TX

Sort the results in ascending order by the last name within the state. Use appropriate column aliases for the headings.

Q3 List the titles, retail price, and discount for all books that contain the word cook in the title. Sort by cost.

Q4 Report all books published after Jan. 1st, 2015, as well as all books published in 2014 that have retail price of $50 or less. Show the title, publisher's number, retail price, and date published. The list should sort the data first by publisher number, then by retail price within each publisher. So you will have two sets of data in the report: all books published after January 1st, 2015 as well as those books published in 2014 that have retail price of $50 or less.

Q5 List titles, cost, retail and profit margin for all books that have a profit margin under 55%. Make sure to assign a descriptive column name for the calculated field. Profit margin is calculating by the following formula:

((retail cost) / cost) *100

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

Step: 3

blur-text-image

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

Murach's SQL Server 2012 For Developers

Authors: Bryan Syverson, Joel Murach, Mike Murach

1st Edition

1890774693, 9781890774691

More Books

Students also viewed these Databases questions