Oracle 1Z0-071 Exam (page: 7)
Oracle Database SQL
Updated on: 01-Sep-2025

Viewing Page 7 of 77

Which three statements are true regarding subqueries? (Choose three.)

  1. Multiple columns or expressions can be compared between the main query and subquery.
  2. Subqueries can contain ORDER BY but not the GROUP BY clause.
  3. Main query and subquery can get data from different tables.
  4. Subqueries can contain GROUP BY and ORDER BY clauses.
  5. Main query and subquery must get data from the same tables.
  6. Only one column or expression can be compared between the main query and subquery.

Answer(s): A,C,D


Reference:

http://docs.oracle.com/javadb/10.6.2.1/ref/rrefsqlj13658.html



Which statement is true regarding the default behavior of the ORDER BY clause?

  1. In a character sort, the values are case-sensitive.
  2. NULL values are not considered at all by the sort operation.
  3. Only those columns that are specified in the SELECT list can be used in the ORDER BY clause.
  4. Numeric values are displayed from the maximum to the minimum value if they have decimal positions.

Answer(s): A



Examine the structure of the MEMBERS table.


Which query can be used to display the last names and city names only for members from the states MO and MI?

  1. SELECT last_name, city FROM members WHERE state ='MO' AND state ='MI';
  2. SELECT last_name, city FROM members WHERE state LIKE 'M%';
  3. SELECT last_name, city FROM members WHERE state IN ('MO', 'MI');
  4. SELECT DISTINCT last_name, city FROM members WHERE state ='MO' OR state ='MI';

Answer(s): C



Which statement is true about an inner join specified in a query’s WHERE clause?

  1. It only applies for equijoin conditions.
  2. It applies for equijoin and nonequijoin conditions.
  3. It requires column names to be the same in all tables being joined.
  4. It must have primary-key and foreign-key constraints defined on the join columns.

Answer(s): B



Which task can be performed by using a single Data Manipulation Language (DML) statement?

  1. adding a column constraint while inserting a row into a table
  2. adding a column with a default value while inserting a row into a table
  3. removing all data only from a single column on which a unique constraint is defined
  4. removing all data only from a single column on which a primary key constraint is defined

Answer(s): C



Viewing Page 7 of 77



Share your comments for Oracle 1Z0-071 exam with other users:

Saravana Kumar TS 12/8/2023 9:49:00 AM

question: 93 which statement is true regarding the result? sales contain 6 columns and values contain 7 columns so c is not right answer.
INDIA