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

What is true about non-equijoin statement performance?

  1. The BETWEEN condition always performs less well than using the >= and <= conditions.
  2. The join syntax used makes no difference to performance.
  3. Table aliases can improve performance.
  4. The BETWEEN condition always performs better than using the >= and <= conditions.
  5. The Oracle join syntax performs better than the SQL:1999 compliant ANSI join syntax.

Answer(s): C


Reference:

https://www.academia.edu/17342225/SQL_notes



Examine this SQL statement:


Which two are true?

  1. The subquery is not a correlated subquery.
  2. The subquery is executed before the DELETE statement is executed.
  3. The DELETE statement executes successfully even if the subquery selects multiple rows.
  4. The subquery is executed for every row in the EMPLOYEES table.
  5. All existing rows in the EMPLOYEES table are deleted.

Answer(s): B,D



Examine the description of the CUSTOMERS table:


You want to display details of all customers who reside in cities starting with the letter D followed by at least two characters. Which query can be used?

  1. SELECT * FROM customers WHERE city = ‘D_%’;
  2. SELECT * FROM customers WHERE city LIKE ‘D_’;
  3. SELECT * FROM customers WHERE city LIKE ‘D_%’;
  4. SELECT * FROM customers WHERE city = ‘%D_’;

Answer(s): C



Examine the description of the PRODUCT_STATUS table:


The STATUS column contains the values ‘IN STOCK’ or ‘OUT OF STOCK’ for each row.

Which two queries will execute successfully?

  1. Option A
  2. Option B
  3. Option C
  4. Option D
  5. Option E
  6. Option F

Answer(s): B,E



View the Exhibit and examine the description of the tables.


You execute this SQL statement:


Which three statements are true?

  1. The statement will execute successfully and a new row will be inserted into the SALES table.
  2. A product can have a different unit price at different times.
  3. The statement will fail because a subquery may not be contained in a VALUES clause.
  4. The statement will fail if a row already exists in the SALES table for product 23.
  5. A customer can exist in many countries.
  6. The SALES table has five foreign keys.

Answer(s): A,E,F






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

1Z0-071 Exam Discussions & Posts