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

MySQL-Abfrage - Finde neue Benutzer pro Tag

Select count(EventId) from table
where 
UserId 
  not in (select UserId from table where EventTimeStamp < now() - interval 1 day)