1. Which SQL clause locks selected rows in a transaction to prevent concurrent updates?
- LOCK TABLE
- SELECT ... FOR UPDATE
- BEGIN TRANSACTION READ ONLY
- SELECT ... SHARE LOCK
Hint: 'SELECT ... FOR UPDATE' locks the selected rows, forcing concurrent transactions trying to lock or update them to wait.