1Z0-007 · Question #7
Examine the structure of the EMPLOYEES, DEPARTMENTS, and LOCATIONS tables. Which two SQL statements produce the name, department name, and the city of all the employees who earn more then 10000?…
The correct answer is A. SELECT emp_name, department_name, city D. SELECT emp_name, department_name, city. A is a correct response (JOIN USING). D: This is the correct syntax for a traditional (Non-ANSI Standard) JOIN. The join is defined in the Incorrect Answers B: Not the correct syntax for an ANSI Standard JOIN C: This query will built Cartesian product because there is no join…
Question
Examine the structure of the EMPLOYEES, DEPARTMENTS, and LOCATIONS tables. Which two SQL statements produce the name, department name, and the city of all the employees who earn more then 10000? (Choose two)
Exhibit
Options
- ASELECT emp_name, department_name, city
- BSELECT emp_name, department_name, city
- CSELECT emp_name, department_name, city
- DSELECT emp_name, department_name, city
- ESELECT emp_name, department_name, city
How the community answered
(36 responses)- A75% (27)
- B3% (1)
- C6% (2)
- E17% (6)
Explanation
A is a correct response (JOIN USING). D: This is the correct syntax for a traditional (Non-ANSI Standard) JOIN. The join is defined in the Incorrect Answers B: Not the correct syntax for an ANSI Standard JOIN C: This query will built Cartesian product because there is no join conditions in WHERE clause to E: NATURAL JOIN is a join between two where Oracle joins the tables according to the column(s) in the two tables sharing the same name. It is required to add one more NATURAL JOIN clause to join additional table.
Topics
Community Discussion
No community discussion yet for this question.
