select avg([Value1]) as Value1 from  THisSampleThirtySecond_1 where datediff(hour,SampleTime,'2016/10/21 0:00:00') = 0

 以此可以类推  

按小时取最大值、最小值、和;

按天、月、年、分钟、秒钟取   最大值、最小值、平均值、和   等    20170804 姜彦

相关文章:

  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2021-11-01
  • 2021-05-22
  • 2021-08-27
  • 2021-08-12
  • 2021-12-02
猜你喜欢
  • 2022-12-23
  • 2022-01-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-14
  • 2021-09-08
相关资源
相似解决方案