QuestionQ176
VerifiedDeveloping Code for Data Processing using Python and SQLA facilities-monitoring team is creating a near-real-time PowerBI dashboard from the Delta table device_readings:

For every sensor, the team requires one row for each non-overlapping 5-minute interval, offset by 2 minutes (for example, intervals such as 00:02-00:07, 00:07-00:12, ...), containing the average temperature for that slice. The output must include each interval's start and end timestamps so downstream tools can correctly plot time-series bars.
Which query meets the requirement?
Community Discussion