Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Load the MyGuitarShop DB ( unless already loaded ) . See the SQL Scripts Module. Select the MyGuitarShop DB in the Object Explorer Open the
Load the MyGuitarShop DB unless already loaded See the SQL Scripts Module.
Select the MyGuitarShop DB in the Object Explorer
Open the query text window via the New Query Tool.
New Query
Add Comments to your script to include your Name, class, and Assignment Name.
Create the following SQL queries using Select in the query window. Comment each step in the script.
Select all data from the Products Table
Using the Products Table, create a summary query:
For each Category ID sum the price and label the summation as "Total Value"
Do the same as Step B but only display totals greater than Hint: This requires the "having" statement
Do the same as Step C but replace the CategoryID with CategoryName.
This query needs to join the Category table.
Run your created script.
Save the displayed results partial data OK in a Screen shot.
Save the SqlQuery using SSMS into as a sql file.
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