Oracle Certification Program-1Z0-051-ENU
Oracle Certification Program-1Z0-051-ENU
Oracle Certification Program-1Z0-051-ENU
Sample Questions
View answers below
Sample questions are provided solely to familiarize candidates with the multiple-choice format
and writing style of questions that will be found on the exam. Sample questions may not cover
the full spectrum of difficulty that is covered by the exam questions. Success on the sample
questions does not predict success on the exam.
EMP
Name Null? Type
You want to display the annual commission amount payable to each employee.
Which two SQL statements ensure that a value is displayed in the calculated column for all
the employees? (Choose two)
A. 1,230
B. 01,230
C. 1,230.00
D. 01,230.00
EMP
Name Null? Type
A. It generates an error
B. It executes successfully but displays no result
C. It executes successfully but displays results that fulfill only requirements 1 and 3
D. It executes successfully and displays results that fulfill all the requirements
A. If a data manipulation statement fails in the middle of a transaction, only that statement is
rolled back
B. If a data manipulation statement fails in the middle of a transaction, the entire transaction
is rolled back
C. A transaction is committed when a user exits the session normally without issuing an
explicit COMMIT command
D. A transaction is rolled back when a user exits the session normally without issuing an
explicit COMMIT command
EMP
Name Null? Type
A. It generates an error because column definitions cannot be altered to add default values
B. Only subsequent insertions where SALARY is not specified would store the value 10000
C. It generates an error because column definitions cannot be altered if the table contains
rows
D. All existing rows and subsequent rows where SALARY contains NULL value get
updated to 10000
EMP
Name Null? Type
You then insert some rows into the table using EMP_SEQ to populate the EMPNO column.
Which two statements are true regarding the EMP_SEQ sequence? (Choose two.)
9. View the Exhibit below and examine the structures of DEPT and EMP tables.
You need to generate a report that displays all department names along with the
corresponding average salary.
DEPT
Name Null? Type
DEPTNO NOT NULL NUMBER(2)
DNAME VARCHAR2(14)
LOC VARCHAR2(13)
EMP
EMP
Name Null? Type
EMPNO NOT NULL NUMBER(3)
ENAME VARCHAR2(25)
SALARY NUMBER(10,2)
COMM_PCT NUMBER(4,2)
DEPTNO NUMBER(2)
You want to find the highest average salary being paid in any department.
1. AC
2. D
3. B
4. C
5. AC
6. B
7. B
8. AE
9. D
10. A