Mysql
 sql >> Database >  >> RDS >> Mysql

Raggruppa query mysql a intervalli di 15 minuti

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