#SQL Leetcode SQL 50 #33: 180: Consecutive Numbers

preview_player
Показать описание
#SQL Leetcode SQL 50 #33: 180: Consecutive Numbers

Find all numbers that appear at least three times consecutively.

Return the result table in any order.

We will be solving all the questions from LeetCode SQL 50 one by one. These questions range from easy to hard.

-- Create the table
CREATE TABLE Logs (
id INT,
num INT
);

-- Insert data into the table
INSERT INTO Logs (num) VALUES
(1),
(1),
(1),
(2),
(1),
(2),
(2);

#datascience #coding #programming #mssql #databasemanagement #leetcode #leetcode180 #leetcodesolution

👉SQL Tutorials Playlist:

👉SQL Shorts Playlist:

👉Python Shorts Playlist:

👉Python Tutorials Playlist:

👉Excel Shorts Playlist:
Рекомендации по теме
welcome to shbcf.ru