In SQL, id is the primary key for this table. id is an autoincrement column. Find all numbers that appear at least three times consecutively. Return the result table in any order. The result format is ...
-- Given a Logs table with columns id and num, find all numbers that appear -- at least three times consecutively. -- Pattern: LAG()/LEAD() window functions -- ML relevance: Detecting consecutive ...