OCP CBT Question 590
Please solve the following question.
You are developing an application module that needs to guarantee that data read from the `ORDERS` table is not changed by other transactions before your transaction commits its own changes. Which SQL construct should you use?
Table Structure
CREATE TABLE ORDERS (
order_id NUMBER PRIMARY KEY,
customer_id NUMBER,
order_date DATE,
status VARCHAR2(20)
);