Mysql
 sql >> Base de Dados >  >> RDS >> Mysql

SQL hora média em 24 horas

SELECT AVG(value), _id, Node_ID, Modality, value, Timestamp
    FROM yourTable
    GROUP BY DATE(Timestamp), HOUR(Timestamp);