How to display history between 2 times on a daily basis?

I want to show a history graph like this:

but I want to show it for a given date range for the hours of 11am to 1pm for a given person.

Did some Google/searching, but honestly I have no idea where to start with this on SQL server. I know I could pull it off in SQL, but not sure that would be the most efficient way in HA.

Help Us Help You

This topic may be relevant.