Answered step by step
Verified Expert Solution
Question
1 Approved Answer
use BikeStores; - - 1 ) For each product, list the product id , name, price, category id and category name. - - 2 )
use BikeStores;
For each product, list the product id name, price, category id and category
name.
For each staff member, list their first name, last name, phone number, store
id and store name.
Use the IN operator with a subquery to find the iD name and list price for
all products in the electric bikes, mountain bikes and road bikes categories.
Repeat # but this time use the EXISTS operator in your solution.
For each store, show the store id name and phone number along with the
product name, id and quantity of products held at that store.
Repeat # but this time order the rows by store then by quantity from
greatest to least.
Use a subquery to find the products that have only of a particular product
left in stock.
first find quantities of in stock
use the product id col from stocks to show the products's whose info
you want
Find the first name, last name and email of all customers that currently
have an order on file with Baldwin Bikes. Make use of at least one subquery.
List the order id order date, ship date and store name for all orders for
the customer Lizzie Joyner. Do not use any subqueries.
List the quantity of stock each store has for the most expensive product we
carry. Include the store name, product id quantity, product name and price.
Hint! use a subquery with max to accomplish this.
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