Answer the question
In order to leave comments, you need to log in
Where is this kind of data stored?
In general, there is a notification system on the site. This system has support for grouping some types of notifications into one if certain conditions are met:
Answer the question
In order to leave comments, you need to log in
PostgreSQL (and ORACLE) are great at this kind of work.
Your query will most likely need standard functions:
- LAG() OVER() to determine the neighbor,
- COUNT() or COUNT() OVER () to determine the number
Everyone, including MySQL, can determine the same values in the specified field and date
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question