[MySQL] 빠진 번호 찾기
안녕하세요. 오늘은 일련번호나 인덱스에서 빠진 번호를 찾아야 할 때 유용한 MySQL 쿼리문에 대해 알아보겠습니다. MySQL 빠진 번호 찾기 ▣ 예시 데이터 :: Example_No No Name Age 1 Sam 29 2 John 37 4 Key 28 8 Pow 65 11 Kane 21 12 Jane 23 19 Sol 28 CREATE TABLE Example_No (`No` int, `Name` varchar(4), `Age` int) ; INSERT INTO Example_No (`No`, `Name`, `Age`) VALUES (1, 'Sam', 29), (2, 'John', 37), (4, 'Key', 28), (8, 'Pow', 65), (11, 'Kane', 21), (12, 'Jane',..
2022. 12. 22.