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

Examine these statements executed in a single Oracle session:


Which three statements are true?

  1. The code for pen is 1.
  2. There is no row containing pencil.
  3. The code for fountain pen is 3.
  4. The code for pen is 10.
  5. There is no row containing fountain pen.
  6. There is no row containing pen.

Answer(s): A,B,C



The SALES table has columns PROD_ID and QUANTITY_SOLD of data type NUMBER.

Which two queries execute successfully?

  1. SELECT prod_id FROM sales WHERE quantity_sold > 55000 GROUP BY prod_id HAVING COUNT(*) >10;
  2. SELECT prod_id FROM sales WHERE quantity_sold > 55000 AND COUNT(*) > 10 GROUP BY prod_id HAVING COUNT(*) >10;
  3. SELECT COUNT (prod_id) FROM sales WHERE quantity_sold > 55000 GROUP BY prod_id;
  4. SELECT prod_id FROM sales WHERE quantity_sold > 55000 AND COUNT(*) > 10 GROUP BY COUNT(*) >10;
  5. SELECT COUNT(prod_id) FROM sales GROUP BY prod_id WHERE quantity_sold > 55000;

Answer(s): A,C



Which CREATE TABLE statement is valid?

  1. Option A
  2. Option B
  3. Option C
  4. Option D

Answer(s): D



Examine the description of the CUSTOMERS table:


CUSTNO is the PRIMARY KEY.

You must determine if any customers’ details have been entered more than once using a different CUSTNO, by listing all duplicate names.

Which two methods can you use to get the required result?

  1. LEFT OUTER JOIN with self join
  2. self join
  3. RIGHT OUTER JOIN with self join
  4. FULL OUTER JOIN with self join
  5. subquery

Answer(s): B,E



Which two statements are true about the results of using the INTERSECT operator in compound queries?

  1. INTERSECT ignores NULLs.
  2. Reversing the order of the intersected tables can sometimes affect the output.
  3. The number of columns in each SELECT in the compound query can be different.
  4. INTERSECT returns rows common to both sides of the compound query.
  5. Column names in each SELECT in the compound query can be different.

Answer(s): A,E



Viewing page 5 of 77



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

1Z0-071 Exam Discussions & Posts