Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Product Name and Quantity with the maximum quantity sold per day. Expand / Collapse
Author
Message
Posted Tuesday, July 2, 2013 5:59 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Monday, July 29, 2013 2:56 AM
Points: 16, Visits: 20
Write a SQL statement from the above example tables that will return the Product Name and Quantity with the maximum quantity sold per day.
Post #1469424
Posted Tuesday, July 2, 2013 7:40 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 2:51 PM
Points: 13,028, Visits: 11,838
engstevo (7/2/2013)
Write a SQL statement from the above example tables that will return the Product Name and Quantity with the maximum quantity sold per day.


Homework? We can't see the paper your professor handed you so there are no tables above. Around here we like to help people learn, not do their homework for them. Post the tables, some sample data and the query you have tried so far.


_______________________________________________________________

Need help? Help us help you.

Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

Need to split a string? Try Jeff Moden's splitter.

Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Understanding and Using APPLY (Part 1)
Understanding and Using APPLY (Part 2)
Post #1469499
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse