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
 SQL Server 2012 Forums
 Transact-SQL (2012)
 query each hour sales on one item
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

Hong Kong
165 Posts

Posted - 08/21/2014 :  11:07:03  Show Profile  Reply with Quote
I'm looking for sql to report the each hour sale by daily on special sku and rollup the total qty .

sku =' Skin Care Mask '
> > 9am
> > 10am
> > 11am
> > 12am
> > 1pm
> > 2pm
> > 3pm
> > 4pm
> > 5pm
> > 6pm
> > 7pm
> > 8pm
> > 9pm
  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.02 seconds. Powered By: Snitz Forums 2000