|
|
@@ -1,12 +1,17 @@
|
|
|
-select measurement_type,point_name, count(*)
|
|
|
+select device_part, device_point, measurement_type,point_name,min(sample_time) minTime,max(sample_time) maxTime, count(*)
|
|
|
from wave_file
|
|
|
-where rpm>0 and measurement_type='压力' and tspluse_status>=4
|
|
|
-group by measurement_type,point_name
|
|
|
+where rpm>0
|
|
|
+group by device_part, device_point,measurement_type,point_name
|
|
|
|
|
|
|
|
|
select point_name, measurement_type, min(sample_time) minTime,max(sample_time) maxTime, count(*)
|
|
|
from wave_file
|
|
|
-where point_name like '8号机组二缸%' and rpm>0
|
|
|
+where rpm>0
|
|
|
+group by measurement_type,point_name
|
|
|
+
|
|
|
+select point_name, measurement_type,count(*)
|
|
|
+from wave_file
|
|
|
+where rpm>0
|
|
|
group by measurement_type,point_name
|
|
|
|
|
|
|