Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

how to get 5 min data from SQL data base

$
0
0

I have a data records for different pits for each 10 seconds. It is a bulky dataset. I just need to get the data from each 5 min for all pits. How could i write query in SQL for it.

TimeStampPit_1_VolumePit_2_VolumePit_3_VolumePit_4_VolumePit_5_VolumePit_6_VolumePit_7_Volume
5/16/2013 7:20190.03328.12427.0505.870.271.68
5/16/2013 7:20190.07328.19427.0506.660.271.86
5/16/2013 7:20190.03327.87427.2205.310.231.72
5/16/2013 7:20190.03327.33426.8305.220.271.66
5/16/2013 7:20190.03327.06426.8505.890.361.68
5/16/2013 7:21190.15327.75426.8303.530.271.76
5/16/2013 7:21190.19327.13427.5205.690.271.8
5/16/2013 7:21190.15327.35427.7205.780.231.87
5/16/2013 7:21190.11327.98427.9106.210.271.67
5/16/2013 7:21190.11326.81428.0805.960.271.73
5/16/2013 7:21190.11327.92428.4705.240.181.72
5/16/2013 7:22190.09326.29428.7305.640.21.66
5/16/2013 7:22190.11324.65427.9505.460.271.59
5/16/2013 7:22190.11324.17426.7705.780.231.7
5/16/2013 7:22190.09323.71417.4306.390.271.73
5/16/2013 7:22190.15323.19424.5406.030.231.7
5/16/2013 7:22190.15320.7423.5705.080.321.72
5/16/2013 7:23190.15321.66424.1105.940.231.72


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>