By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
4 rows affected
FlightNum | Class | Seats |
---|---|---|
10 | A | 0 |
10 | B | 5 |
10 | C | 15 |
10 | D | 25 |
FlightNum | Class | Seats | SoldOut |
---|---|---|---|
10 | A | 0 | 1 |
10 | B | 5 | 1 |
10 | C | 15 | 1 |
10 | D | 25 | 1 |
Warning: Null value is eliminated by an aggregate or other SET operation.