READ Free Dumps For Oracle- 1z0-001
Question ID 1591 | The structure of the DEPT table is as follows: |
Option A | A. DBMS_OUTPUT.PUT_LINE (dept_rec.loc); |
Option B | B. DBMS_OUTPUT.PUT_LINE (dept_rec); |
Option C | C. You cannot display a single field in the record because they are not explicitly identified in the declarative section. |
Option D | D. DBMS_OUTPUT.PUT_LINE (dept_rec(1).loc); |
Correct Answer | A |
Question ID 1592 | Which SELECT statement displays employee names, salaries, department numbers, and average salaries for all employees who earn more than the average salary in their department? |
Option A | A. SELECT outer.ename,outer.sal,outer.deptno,AVG(outer.sal) |
Option B | B. SELECT outer.ename,outer.sal, |
Option C | C. SELECT ename, sal, deptno, AVG(sal) FROM emp |
Option D | D. SELECT a.ename, a.sal, a.deptno, b.salavg |
Correct Answer | D |