nerdexam
Oracle

1Z0-117 · Question #28

You execute the following query for the first time: Examine the SQL statement processing steps: 1. The value of the variable SAL is obtained to run the query. 2. The syntax of the query is checked…

The correct answer is D. 2, 3, 1, 4, 6, 5. A: First execute then fetch rows. B: Check of syntax is before check of semantics. C: Parse tree is before semantics.

Understanding and Influencing the Optimizer

Question

You execute the following query for the first time: Examine the SQL statement processing steps: 1. The value of the variable SAL is obtained to run the query. 2. The syntax of the query is checked 3. A parse tree for the query is generated 4. Semantics for the query are checked 5. The required rows are fetched 6. The SQL is executed to produce the required result. Which is the correct order of execution of the above query?

Options

  • A1, 2 3, 4, 5, 6
  • B1, 4, 2, 3, 6, 5
  • C2, 4, 1, 3, 6, 5
  • D2, 3, 1, 4, 6, 5

How the community answered

(48 responses)
  • A
    6% (3)
  • B
    10% (5)
  • C
    4% (2)
  • D
    79% (38)

Explanation

A: First execute then fetch rows. B: Check of syntax is before check of semantics. C: Parse tree is before semantics.

Topics

#SQL statement processing#parse tree#bind variable#semantic check

Community Discussion

No community discussion yet for this question.

Full 1Z0-117 Practice