question

David 2 1 avatar image
David 2 1 asked

Grouping By 24 Hour Period

Trying to create a query that will group by a date field across a 24 hour period. Basicallly if a sale happens for one customer and there is another sale within the 24 hours of the first sale then who to create a query that will group these two sales?
sql-server-2000tsqlgroup-bygrouping
2 comments
10 |1200 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

can you post some example data?
1 Like 1 ·
...and the output you're expecting from that sample data
0 Likes 0 ·

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.