1Z0-007 · Question #165
Examine the structure of the EMPLOYEES table: What is the correct syntax for an inline view?
The correct answer is A. SELECT a.last_name, a.salary, a.department_id. This SQL statement shows correct syntax to build inline views. You must enclose the query text for the inline view in parentheses and also give a label for the inline view so that columns in it can be referenced later. In answer A inline view is marked as Incorrect Answers B…
Question
Examine the structure of the EMPLOYEES table:
What is the correct syntax for an inline view?
Exhibit
Options
- ASELECT a.last_name, a.salary, a.department_id,
- Bmaxsal
- CSELECT a.last name, a.salary, a.department_id FROM employees a
- DSELECT a.last_name, a.salary, a.department_id FROM employees a
- ESELECT a.last_name, a.salary, a.department_id FROM employees a
How the community answered
(31 responses)- A77% (24)
- B6% (2)
- C13% (4)
- D3% (1)
Explanation
This SQL statement shows correct syntax to build inline views. You must enclose the query text for the inline view in parentheses and also give a label for the inline view so that columns in it can be referenced later. In answer A inline view is marked as Incorrect Answers B: This SQL statement will fail because it is not correct syntax for inline views. There is no a label for this inline view also. C: This SQL statement will fail because it is not correct syntax for inline views. There is no a label for this inline view also. D: This SQL statement will fail because it is not correct syntax for inline views. There is no a label for this inline view also.
Topics
Community Discussion
No community discussion yet for this question.
