Examine these statements which execute successfully:
Both statements display departments ordered by their average salaries.
Which two are true? (Choose two.)
Examine these statements which execute successfully:
Both statements display departments ordered by their average salaries.
Which two are true? (Choose two.)
Both statements will display departments with no employees, as both selections include 'departments d' which means they will list all departments regardless of whether they have employees or not. Only the second statement will execute successfully if you add E.AVG_SAL to the select list because it uses JOIN and GROUP BY correctly to associate department_id with its average salary.
Correct Answer: BC Tested A->The first select returns ORA-00904 D ->Wrong because both statement have d.* in the select list, so both will display departments with no employees E-> Wrong like D F -> Wrong like A
Actually, I think C & D are the correct answers
B & C are the correct answers
D E tested
sorry F not E
omg of course only B C
finally C D sorry for chaos english english