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.
TimeStamp | Pit_1_Volume | Pit_2_Volume | Pit_3_Volume | Pit_4_Volume | Pit_5_Volume | Pit_6_Volume | Pit_7_Volume |
5/16/2013 7:20 | 190.03 | 328.12 | 427.05 | 0 | 5.87 | 0.27 | 1.68 |
5/16/2013 7:20 | 190.07 | 328.19 | 427.05 | 0 | 6.66 | 0.27 | 1.86 |
5/16/2013 7:20 | 190.03 | 327.87 | 427.22 | 0 | 5.31 | 0.23 | 1.72 |
5/16/2013 7:20 | 190.03 | 327.33 | 426.83 | 0 | 5.22 | 0.27 | 1.66 |
5/16/2013 7:20 | 190.03 | 327.06 | 426.85 | 0 | 5.89 | 0.36 | 1.68 |
5/16/2013 7:21 | 190.15 | 327.75 | 426.83 | 0 | 3.53 | 0.27 | 1.76 |
5/16/2013 7:21 | 190.19 | 327.13 | 427.52 | 0 | 5.69 | 0.27 | 1.8 |
5/16/2013 7:21 | 190.15 | 327.35 | 427.72 | 0 | 5.78 | 0.23 | 1.87 |
5/16/2013 7:21 | 190.11 | 327.98 | 427.91 | 0 | 6.21 | 0.27 | 1.67 |
5/16/2013 7:21 | 190.11 | 326.81 | 428.08 | 0 | 5.96 | 0.27 | 1.73 |
5/16/2013 7:21 | 190.11 | 327.92 | 428.47 | 0 | 5.24 | 0.18 | 1.72 |
5/16/2013 7:22 | 190.09 | 326.29 | 428.73 | 0 | 5.64 | 0.2 | 1.66 |
5/16/2013 7:22 | 190.11 | 324.65 | 427.95 | 0 | 5.46 | 0.27 | 1.59 |
5/16/2013 7:22 | 190.11 | 324.17 | 426.77 | 0 | 5.78 | 0.23 | 1.7 |
5/16/2013 7:22 | 190.09 | 323.71 | 417.43 | 0 | 6.39 | 0.27 | 1.73 |
5/16/2013 7:22 | 190.15 | 323.19 | 424.54 | 0 | 6.03 | 0.23 | 1.7 |
5/16/2013 7:22 | 190.15 | 320.7 | 423.57 | 0 | 5.08 | 0.32 | 1.72 |
5/16/2013 7:23 | 190.15 | 321.66 | 424.11 | 0 | 5.94 | 0.23 | 1.72 |