Please start any new threads on our new 
    site at https://forums.sqlteam.com.  We've got lots of great SQL Server
    experts to answer whatever question you can come up with.
    
        | 
                
                    | 
                            
                                | Author | Topic |  
                                    | jkhanguraStarting Member
 
 
                                        1 Post | 
                                            
                                            |  Posted - 2012-12-08 : 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.SalesPersonOrder by SalesYTD DESCwe 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 |  |  
                                    | sodeepMaster Smack Fu Yak Hacker
 
 
                                    7174 Posts | 
                                        
                                          |  Posted - 2012-12-09 : 10:17:52 
 |  
                                          | Question is not clear.Put your question in this formathttp://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx |  
                                          |  |  |  
                                |  |  |  |