Free Oracle 1Z0-071 Exam Questions (page: 7)

Which three statements are true about performing Data Manipulation Language (DML) operations on a view in an Oracle Database?

  1. Views cannot be used to add or modify rows in an underlying table if the defining query of the view contains the DISTINCT keyword.
  2. Views cannot be used to query rows from an underlying table if the table has a PRIMARY KEY and the PRIMARY KEY columns are not referenced in the defining query of the view.
  3. Views cannot be used to add rows to an underlying table if the table has columns with NOT NULL constraints lacking default values which are not referenced in the defining query of the view.
  4. The WITH CHECK clause has no effect when deleting rows from the underlying table through the view.
  5. Insert statements can always be done on a table through a view.
  6. Views cannot be used to add or modify rows in an underlying table if the defining query of the view contains aggregating functions.

Answer(s): B,C,F



Examine the description of the EMPLOYEES table:


Which query is valid?

  1. SELECT dept_id, MAX(AVG(salary)) FROM employees GROUP BY dept_id;
  2. SELECT dept_id, AVG(MAX(salary)) FROM employees GROUP BY dept_id;
  3. SELECT dept_id, join_date, SUM(salary) FROM employees GROUP BY dept_id, join_date;
  4. SELECT dept_id, join_date, SUM(salary) FROM employees GROUP BY dept_id;

Answer(s): D



Which two statements are true about conditional INSERT ALL?

  1. Each WHEN condition is tested for each row returned by the subquery.
  2. The total number of rows inserted is always equal to the number of rows returned by the subquery.
  3. A single WHEN condition can be used for multiple INTO clauses.
  4. It cannot have an ELSE clause.
  5. Each row returned by the subquery can be inserted into only a single target table.

Answer(s): C,D



Examine these SQL statements which execute successfully:


Which two statements are true after execution?

  1. The foreign key constraint will be disabled.
  2. The primary key constraint will be enabled and DEFERRED.
  3. The foreign key constraint will be enabled and DEFERRED.
  4. The foreign key constraint will be enabled and IMMEDIATE.
  5. The primary key constraint will be enabled and IMMEDIAT

Answer(s): B,D



You create a table by using this command:

CREATE TABLE rate_list (rate NUMBER(6,2));

Which two are true about executing statements?

  1. INSERT INTO rate_list VALUES (-10) produces an error.
  2. INSERT INTO rate_list VALUES (87654.556) inserts the value as 87654.6.
  3. INSERT INTO rate_list VALUES (0.551) inserts the value as .55.
  4. INSERT INTO rate_list VALUES (-99.99) inserts the value as 99.99.
  5. INSERT INTO rate_list VALUES (0.999) produces an error.
  6. INSERT INTO rate_list VALUES (-.9) inserts the value as -.9.

Answer(s): C,D



Viewing page 7 of 77



Post your Comments and Discuss Oracle 1Z0-071 exam prep with other Community members:

1Z0-071 Exam Discussions & Posts