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

MySQL:conta le righe distinte al giorno

SELECT  DATE(timestamp) Date, COUNT(DISTINCT ipNum) totalCOunt
FROM    tableName
GROUP   BY  DATE(timestamp)