Question: Write an SQL query that would ask the database to count the number of different types of t-shirts available and total their price. Your output
Write an SQL query that would ask the database to count the number of different types of t-shirts available and total their price. Your output should show only the field names: NumberOfTshirts TotalPriceOfTshirts.
Step by Step Solution
3.42 Rating (155 Votes )
There are 3 Steps involved in it
Certainly To achieve this you need to use the COUNT and SUMaggregate functions in your SQL query ... View full answer
Get step-by-step solutions from verified subject matter experts
