Question
For all the questions below write SQL query. Submit your queries in one pdf document. You only need to submit the query statement, no need
For all the questions below write SQL query. Submit your queries in one pdf document. You only need to submit the query statement, no need to include resultset.
The number at the end of the query statement indicates the number of rows returned by the query.
We are using AdventureWorkd2012 database for this assignment.
1.Show all the stores which have sales person with id 275 or 282 or 288 or 277 or 290(Sales.Store 307)
2. Show all the bike stores worked by sales person id 282 or 275.(eg. a bike store will have the word bike in the name)(Sales.Store 40)
3. For all products which are listed for less than $20 create a list which shows the name product number in one column. (Production.product 215). For Example if the product is id=922 the result will show Road TIre Tube - TT-R982
4. Show all products which start selling within 2 days of june 1, 2002.( Production.Product 211)
5. Show all products that we start selling in June and may.( Production.Product 211)
6. Show the maximum list price, average list price, maximum standard cost and minimum standard cost. Make sure all columns have a headings.(Production.Product 1
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