Seat Booked Only Once
In seats, seat id = 1 has remaining = 1, while several customers try to book it at the same time. Write a statement that reduces remaining by 1 only when the seat is available and prevents double booking.
Prihláste sa, aby ste videli históriu odoslaní
Prihlásiť saPrihláste sa, aby ste mohli používať AI mentora
Prihlásiť sa