Databases · Middle · Question 19 of 75

What does SELECT ... FOR UPDATE do?

Explanation

Other writers wait. Keep such transactions short, and lock rows in a consistent order to avoid deadlocks.

Further reading

Problem with a question

Databases · Middle · question 19

Test yourself

Take the Databases · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz