Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Exam preparation

Oracle 1Z0-071 Exam Guide for the Database

The Oracle Database SQL exam has the code 1Z0-071, part of the Oracle Database certification. You get 63 questions and 120 minutes. 16 exam topics are tested. For your exam preparation, each topic below links to its own free practice questions. 13 are online now, with answers and explanations.

1Z0-071 Exam Details

Vendor
Oracle
Exam Code
1Z0-071
Real Exam Questions
63
Time Limit
120 min
Free Practice Questions
13
Full Question Set
326
Exam Topics
16
Last Updated
December 3, 2026
Exam Name
Oracle Database SQL
Question Types
MCQs
Certification
Oracle Database
Difficulty Level
Foundational level
Technologies
Oracle DatabaseSQL*PlusOracle SQL Developer
Job Roles
Oracle database administratorsDevelopers

1Z0-071 Exam Topics and Weights

Relational Database Concepts

What this topic covers

Explain how relational data is organized physically and conceptually, and connect ERD components to SQL SELECT clauses. Describe how SQL works with a relational database.

What separates a primary key from a foreign key?

A primary key uniquely identifies each row in its own table, while a foreign key column holds values that must match a primary key elsewhere. For example, EMPLOYEES.DEPARTMENT_ID refers to DEPARTMENTS.DEPARTMENT_ID, linking each employee to one department.

Retrieving Data Using the SQL SELECT Statement

What this topic covers

Write SELECT statements to choose columns and remove duplicate rows. Use aliases, concatenation, literal strings, arithmetic expressions, and NULL values to shape query output.

Does DISTINCT remove duplicate rows or duplicate columns?

DISTINCT removes duplicate rows from the result, comparing all selected columns together. SELECT DISTINCT department_id, job_id returns each department and job pair once, not each value on its own.

Restricting and Sorting Data

What this topic covers

Filter and order query results using conditions, operator precedence, and row limits. Use substitution variables and SQL*Plus DEFINE and VERIFY commands to supply and check input.

Does a single ampersand keep its value for later statements?

No, a single ampersand prompts for a value each time it is met. A double ampersand reuses the value in the same session, and DEFINE stores a value until you UNDEFINE it or end the session.

1 free 1Z0-071 practice question on Restricting and Sorting Data

Using Single-Row Functions to Customize Output

What this topic covers

Use character functions to change text in SELECT and WHERE clauses, and apply date arithmetic. Round, truncate, or find remainders with numeric functions, and manipulate dates with date functions.

Why does ROUND differ from TRUNC for decimal numbers?

ROUND rounds to the nearest value at the given decimal place, while TRUNC simply cuts off the extra digits. ROUND(45.926, 2) returns 45.93, but TRUNC(45.926, 2) returns 45.92.

Using Conversion Functions and Conditional Expressions

What this topic covers

Convert values with TO_CHAR, TO_NUMBER, and TO_DATE, and handle NULLs with NVL, NULLIF, and COALESCE. Combine conversions and conditional logic by nesting functions.

How is NULLIF different from NVL?

NVL replaces a null with a value you supply. NULLIF compares two expressions and returns null when they are equal, otherwise it returns the first expression. NULLIF(x, y) gives null only when x equals y.

Reporting Aggregated Data Using Group Functions

What this topic covers

Group rows and calculate summaries with SQL group functions. Use HAVING to filter completed group results, such as groups whose average meets a condition.

Can I put AVG in a WHERE clause to filter customers?

No, WHERE filters individual rows before groups form, so aggregates cannot appear there. Use HAVING after GROUP BY instead, because it filters each group after its aggregate is computed, such as HAVING AVG(amount) > 500.

1 free 1Z0-071 practice question on Reporting Aggregated Data Using Group Functions

Displaying Data from Multiple Tables

What this topic covers

Combine table data with inner, outer, and non equijoins, including self-joins. Recognize when a Cartesian product occurs and use joins to preserve unmatched rows when needed.

Which rows does a left outer join keep that an inner join drops?

A left outer join keeps every row from the left table even when no matching row exists on the right. Unmatched rows show nulls in the right table columns. EMPLOYEES left joined to DEPARTMENTS still lists employees with no department.

1 free 1Z0-071 practice question on Displaying Data from Multiple Tables

Using Subqueries to Solve Queries

What this topic covers

Use single-row and multiple-row subqueries to build conditions for SQL statements. Apply correlated subqueries with UPDATE or DELETE, including NOT EXISTS to identify rows without matches.

Can a single-row subquery return more than one value?

No, a single-row subquery must return exactly one row and one column, or Oracle raises an error. Use IN, ANY or ALL when the subquery can return several values. WHERE salary = (SELECT MAX(salary) FROM employees) is valid.

1 free 1Z0-071 practice question on Using Subqueries to Solve Queries

Using SET Operators

What this topic covers

Combine compatible query results with UNION, UNION ALL, INTERSECT, and MINUS. Match SELECT columns correctly and apply ORDER BY to the combined result.

What is the difference between UNION and UNION ALL?

UNION combines two result sets and removes duplicate rows, while UNION ALL keeps every row, duplicates included. UNION ALL is usually faster because it skips the step that removes duplicates.

1 free 1Z0-071 practice question on Using SET Operators

Managing Tables Using DML Statements

What this topic covers

Insert, update, and delete table rows, including with multi-table inserts and MERGE. Control transactions so changes can be managed as a unit.

Are inserted rows permanent as soon as INSERT runs?

No, inserted, updated or deleted rows stay uncommitted until you issue COMMIT, and ROLLBACK undoes them. Other sessions do not see uncommitted changes. A DDL statement such as CREATE TABLE commits implicitly.

Related Oracle Exams

Continue to Free 1Z0-071 Exam Questions