Comments - How to insert only the number of data specified by mariadb?
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
To your `Theater (id, description)` table add a field of `remaining int default 100`.
Use transactions when making the reservation: