I recently did a raffle
everyone can only draw once
I want to insert a record for each lucky draw request, and then read the first record for comparison to determine whether he is drawing the lottery for the first time, delete the useless record if not for the first time, and return an error
will there be a large number of innsert delete operations
will these two operations lock the table?