Is it possible to write an SQL query that, for example, would return the average pressure of the selected nodes during 4:00AM and 6:00AM?

I've been experimenting with tsr, but I'm not having any luck.

Any assistance is greatly appreciated.