|
jkhangura
Starting Member
Canada
1 Posts |
Posted - 12/08/2012 : 22:13:04
|
We have a university project where we have to create sales queries for the AdventureWorks05 database.
We need to make queries for the sales portion of the database. An example of what we have right now is:
Comparing a sales persons year-to-date sales to his or her sales quota.. the query we have is:
SELECT SalesPersonID as 'Sales Person ID', SalesYTD as 'Sales Year-To-Date', SalesQuota as 'Sales Quota' FROM Sales.SalesPerson Order by SalesYTD DESC
we need to create 4 more queries related to the sales' tables in the database. Please HELP!! The queries do not have to be super complex and advanced... just need to be simple like the one above.
Jkhangura |
|