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
No comments:
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
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)