Question
Using the My Guitar Shop database you installed in Module 1, develop the following queries. SUBMIT A SCREENSHOT OF EACH STEP. Write a SELECT statement
Using the My Guitar Shop database you installed in Module 1, develop the following queries. SUBMIT A SCREENSHOT OF EACH STEP.
- Write a SELECT statement that returns these column names and data from the Products table:
product_name The product_name column
list_price The list_price column
discount_percent The discount_percent column
discount_amount A column thats calculated from the previous two columns
discount_price A column thats calculated from the previous three columns
Round the discount_amount and discount_price columns to two decimal places. Sort the result set by the discount_price column in descending sequence. Use the LIMIT clause so the result set contains only the first five rows. Submit a screenshot.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started