180. Consecutive Numbers Posted on 2020-05-23 | Edited on 2021-01-22 | Views: https://leetcode.com/problems/consecutive-numbers/ Explanation 1234# Write your MySQL query statement belowSELECT DISTINCT Num AS ConsecutiveNumsFROM LogsWHERE (Id+1,Num) IN (SELECT * FROM Logs) AND (Id+2,Num) IN (SELECT * FROM Logs);