Microsoft Access
--
Questions
--
Followers
Top Experts
MS Access Query Group By Hour
I'm running a query that needs some format help. I want to group records by hour, but I only know how to group minute-by-minute. Here's the relevant SQL:
GROUP BY Format([DateRequest],"mm/d d/yyyy"), Format([DateRequest],"Medi um Time")
Can you help me with the formatting that would group records by hour?
Thanks!
GROUP BY Format([DateRequest],"mm/d
Can you help me with the formatting that would group records by hour?
Thanks!
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
ASKER CERTIFIED SOLUTION
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Perfect! Exactly what I needed. Thanks!
You are welcome!
/gustav
/gustav






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Microsoft Access
--
Questions
--
Followers
Top Experts
Microsoft Access is a rapid application development (RAD) relational database tool. Access can be used for both desktop and web-based applications, and uses VBA (Visual Basic for Applications) as its coding language.