展示を表示し、ORDERSテーブルとCUSTOMERSテーブルの構造を調べます。 次のSQLコマンドを評価します。 SQL> SELECT o.order_id、c.cust_name、o.order_total、c.credit_limit FROM注文o JOIN顧客c USING(customer_id) WHERE o.order_total> c.credit_limit 更新用 ORDER BY o.order_id; 上記のクエリの結果に関して正しい2つのステートメントはどれですか。 (2つ選択してください。)
正解:A,C
FOR UPDATE Clause in a SELECT Statement * Locks the rows in the EMPLOYEES table where job_id is SA_REP. * Lock is released only when you issue a ROLLBACK or a COMMIT. * If the SELECT statement attempts to lock a row that is locked by another user, the database waits until the row is available, and then returns the results of the SELECTstatement SELECT employee_id, salary, commission_pct, job_id FROM employees WHERE job_id = 'SA_REP' FOR UPDATE ORDER BY employee_id;