people >= 100.LEAD() and LAG() to get the id of the next two and previous two rows.id is part of a sequence of three or more consecutive ids.visit_date.
erDiagram
Stadium {
int id
date visit_date
int people
}