Rocinante's Tech Stuff
Rocinante team member comments on issues affecting their daily coding.
Wednesday, February 21, 2007
Count sales from Tuesday
Posted by
Ed Eichman
Here is how I got a count of all Tuesday sales from GreenLight...
select count(*) as mycount, left(datetime, 8) as mydate from {orders} where dayofweek(datetime) = 3 and referURL like "GL%" group by mydate order by mydate desc
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment