Hello, in the table below, you have to do a select that returns me the following: select the average current per minute between the day x and day y and that on the return display the day and minutes?
I have one record per second in the table, and I need to have the average per minute of these records within a date range.
corrente| time
2.23 | 2017-04-24 21:22:37
2.23 | 2017-04-24 21:22:38
2.23 | 2017-04-24 21:22:39
1.27 | 2017-04-24 21:23:01
2.25 | 2017-04-25 21:23:02
0.50 | 2017-04-25 21:22:40
2.25 | 2017-04-25 21:22:41
1.02 | 2017-04-26 00:22:41
2.29 | 2017-04-26 00:22:42
2.29 | 2017-04-26 23:22:43
2.24 | 2017-04-26 23:22:43
2.27 | 2017-04-27 14:22:44
2.27 | 2017-04-27 14:22:45
2.24 | 2017-04-27 02:22:46
2.30 | 2017-04-27 02:22:47
2.28 | 2017-04-28 21:22:50
2.28 | 2017-04-28 21:22:51
-------------------------------