SELECT AVG(pm25_h),AVG(pm10_h),AVG(temp_h),AVG(humi_h),AVG(co2_h),AVG(tvoc_h),perf_time
FROM(
    SELECT pm25_h,pm10_h,temp_h,humi_h,co2_h,tvoc_h,perf_time
    FROM perf_environ
    WHERE TO_DAYS(perf_time) = TO_DAYS(DATE_SUB('2016-12-23 15:05:00',INTERVAL 1 DAY))
) AS perfEnviron
GROUP BY SUBSTR(perf_time,1,13)
ORDER BY perf_time DESC;

 

相关文章:

  • 2022-02-08
  • 2021-05-27
  • 2021-06-22
  • 2022-12-23
  • 2022-12-23
  • 2021-04-25
  • 2022-12-23
  • 2021-08-08
猜你喜欢
  • 2021-04-04
  • 2022-01-12
  • 2021-05-24
  • 2021-04-06
  • 2021-12-04
  • 2021-05-27
相关资源
相似解决方案