By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
5 rows affected
Section | Row | SeatNum | NumOfSeats | LastSeat |
---|---|---|---|---|
101 | 1 | 1 | 2 | 2 |
101 | 1 | 2 | 2 | 2 |
101 | 1 | 3 | 4 | 6 |
101 | 1 | 4 | 4 | 6 |
101 | 1 | 5 | 4 | 6 |
101 | 1 | 6 | 4 | 6 |
102 | 4 | 5 | 2 | 6 |
102 | 4 | 6 | 2 | 6 |
102 | 5 | 1 | 2 | 2 |
102 | 5 | 2 | 2 | 2 |
103 | 1 | 6 | 2 | 7 |
103 | 1 | 7 | 2 | 7 |