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 |
|
CoffeeAddict
Yak Posting Veteran
94 Posts |
Posted - 2010-05-18 : 17:54:36
|
| God I hate SQL (sorry I'm just frustrated..but really do hate it).select COUNT(*)from Order nolockwhere payType = 'PayPal'and COUNT(*) < 600and completedOn < '5/18/2010'I can't get this to work. Give me how many days where I had a total < 600 orders for each day.I tried to use a nested select such as select blah blah > 1 and I have no clue how to make SQL "Happy" in this case. |
|
|
Lamprey
Master Smack Fu Yak Hacker
4614 Posts |
|
|
|
|
|