By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
12 rows affected
ID | SeqNo | RowNum | previous_SeqNo_exists |
---|---|---|---|
1 | 1 | 1 | Not exists |
1 | 2 | 2 | Exists |
1 | 5 | 3 | Not exists |
1 | 6 | 4 | Exists |
1 | 8 | 5 | Not exists |
1 | 9 | 6 | Exists |
1 | 10 | 7 | Exists |
1 | 12 | 8 | Not exists |
1 | 20 | 9 | Not exists |
1 | 21 | 10 | Exists |
1 | 25 | 11 | Not exists |
1 | 26 | 12 | Exists |
ID | SeqNo | RowNum |
---|---|---|
1 | 1 | 1 |
1 | 5 | 2 |
1 | 8 | 3 |
1 | 12 | 4 |
1 | 20 | 5 |
1 | 25 | 6 |