SELECT NUM
FROM (SELECT *,ROW_NUMBER() over (order by ID) a ,
ROW_NUMBER() over (PARTITION BY NUM ORDER BY ID) b ,
ROW_NUMBER() over (order by ID) - ROW_NUMBER() over (PARTITION BY NUM ORDER BY ID) FZ FROM T1214) T1
GROUP BY FZ, NUM
HAVING COUNT(*) >3