READ Free Dumps For Oracle- 1z0-047
Question ID 6440 | Which mandatory clause has to be added to the following statement to successfully create an external table called EMPDET? CREATE TABLE empdet (empno CHAR(2), ename CHAR(5), deptno NUMBER(4)) ORGANIZATION EXTERNAL (LOCATION ('emp.dat')); |
Option A | TYPE |
Option B | REJECT LIMIT |
Option C | DEFAULT DIRECTORY |
Option D | . ACCESS PARAMETERS |
Correct Answer | C |
Question ID 6442 | Evaluate the following statement: CREATE TABLE bonuses(employee_id NUMBER, bonus NUMBER DEFAULT 100); http://www.gratisexam.com/ The details of all employees who have made sales need to be inserted into the BONUSES table. You can obtain the list of employees who have made sales based on the SALES_REP_ID column of the ORDERS table. The human resources manager now decides that employees with a salary of $8,000 or less should receive a bonus. Those who have not made sales get a bonus of 1% of their salary. Those who have made sales get a bonus of 1% of their salary and also a salary increase of 1%. The salary of each employee can be obtained from the EMPLOYEES table. Which option should be used to perform this task most efficiently? |
Option A | . MERGE |
Option B | Unconditional INSERT |
Option C | . Conditional ALL INSERT |
Option D | Conditional FIRST INSERT |
Correct Answer | A |