Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 MS Sql Server 2008 R2 question
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 12/08/2012 :  22:13:04  Show Profile  Reply with Quote
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.


Flowing Fount of Yak Knowledge

7174 Posts

Posted - 12/09/2012 :  10:17:52  Show Profile  Reply with Quote
Question is not clear.Put your question in this format
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000