Mysql
 sql >> Datenbank >  >> RDS >> Mysql

Gruppieren Sie die MySQL-Abfrage in 15-Minuten-Intervallen

SELECT   FLOOR(UNIX_TIMESTAMP(timestamp)/(15 * 60)) AS timekey
FROM     table
GROUP BY timekey;