ALL CREDIT TO THESE QUESTIONS AND ANSWERS ARE
FROM EXAMTOPICS.COM/EXAMS/ORACLE/1Z0-071./(A+
GRADED 100% VERIFIED) LATEST VERSION 2025!!
CORE DOMAINS
Relational Database Concepts and SQL Fundamentals
Data Retrieval Using the SQL SELECT Statement
Restricting and Sorting Data
Using Single-Row Functions to Customize Output
Using Conversion Functions and Conditional Expressions
Reporting Aggregated Data Using Group Functions
Displaying Data from Multiple Tables Using Joins
Using Subqueries to Solve Queries
Using Set Operators
Managing Tables Using DML Statements
Managing Objects with Data Dictionary Views
Managing Views, Sequences, and Synonyms
Understanding User Access Control and Privileges
INTRODUCTION
This comprehensive examination is designed for candidates preparing for
the Oracle Database SQL 1Z0-071 certification exam. It assesses
knowledge of SQL fundamentals, data retrieval, filtering, functions, joins,
subqueries, DML, DDL, and user access control. The examination employs
multiple-choice and scenario-based questions that mirror the actual exam
format. Emphasis is placed on critical thinking, syntax accuracy, and the
practical application of SQL to real-world database scenarios. Each
question is accompanied by a verified answer and detailed rationale to
support learning and exam readiness.
SECTION ONE: QUESTIONS 1–100
1. Which SQL statement is used to retrieve data from a database?
A. GET
B. OPEN
,C. SELECT
D. EXTRACT
C. SELECT
RATIONALE: The SELECT statement is the fundamental SQL
command used to query and retrieve data from one or more tables in a
database. GET, OPEN, and EXTRACT are not standard SQL data retrieval
commands .
2. Which clause is used to filter rows returned by a SELECT
statement?
A. ORDER BY
B. GROUP BY
C. WHERE
D. HAVING
C. WHERE
RATIONALE: The WHERE clause is used to specify conditions that
filter which rows are returned by a SELECT statement. ORDER BY sorts
results, GROUP BY groups rows for aggregation, and HAVING filters
groups after aggregation .
3. Which operator is used to search for a pattern in a column?
A. IN
B. BETWEEN
C. LIKE
D. IS NULL
C. LIKE
RATIONALE: The LIKE operator is used for pattern matching in SQL,
typically with wildcards such as % (any string) and _ (single character). IN
checks for membership in a list, BETWEEN checks a range, and IS NULL
checks for null values .
4. Which function is used to find the number of rows in a table?
,A. SUM()
B. AVG()
C. COUNT()
D. MAX()
C. COUNT()
RATIONALE: The COUNT() function returns the number of rows that
match a specified condition or the total number of rows in a table. SUM,
AVG, and MAX are used for numeric aggregation, not counting rows .
5. What is the result of the following expression: SELECT
TRUNC(ROUND(45.926, 2), 1) FROM DUAL;?
A. 45.9
B. 45.92
C. 45.93
D. 45.0
A. 45.9
RATIONALE: ROUND(45.926, 2) rounds to 45.93. TRUNC(45.93, 1)
truncates to one decimal place, resulting in 45.9. The TRUNC function
removes digits without rounding .
6. Which of the following is NOT a valid SQL constraint?
A. PRIMARY KEY
B. FOREIGN KEY
C. UNIQUE
D. INDEX
D. INDEX
RATIONALE: INDEX is a database object used to improve query
performance, not a constraint. PRIMARY KEY, FOREIGN KEY, and
UNIQUE are all valid SQL constraints that enforce data integrity rules .
7. What is the difference between UNION and UNION ALL?
A. UNION removes duplicates; UNION ALL does not
B. UNION ALL removes duplicates; UNION does not
, C. UNION returns only common rows; UNION ALL returns all rows
D. There is no difference
A. UNION removes duplicates; UNION ALL does not
RATIONALE: UNION combines the results of two queries and removes
duplicate rows. UNION ALL combines results but retains all duplicates.
UNION ALL is generally faster because it does not perform duplicate
elimination .
8. Which of the following is TRUE about NULL values in SQL?
A. NULL equals zero
B. NULL equals an empty string
C. NULL means unknown or missing data
D. NULL can be compared using =
C. NULL means unknown or missing data
RATIONALE: NULL represents unknown, missing, or inapplicable data.
It is not equal to zero or an empty string. Comparisons with NULL using =
or != return unknown, not true or false. Use IS NULL or IS NOT NULL to
check for null values .
9. Which SQL statement is used to create a new table in a database?
A. MAKE TABLE
B. CREATE TABLE
C. NEW TABLE
D. ADD TABLE
B. CREATE TABLE
RATIONALE: The CREATE TABLE statement is used to define and
create a new table in the database, specifying column names, data types,
and constraints .
10. What is the purpose of the DISTINCT keyword in a SELECT
statement?
A. To sort the result set
B. To filter rows based on a condition
FROM EXAMTOPICS.COM/EXAMS/ORACLE/1Z0-071./(A+
GRADED 100% VERIFIED) LATEST VERSION 2025!!
CORE DOMAINS
Relational Database Concepts and SQL Fundamentals
Data Retrieval Using the SQL SELECT Statement
Restricting and Sorting Data
Using Single-Row Functions to Customize Output
Using Conversion Functions and Conditional Expressions
Reporting Aggregated Data Using Group Functions
Displaying Data from Multiple Tables Using Joins
Using Subqueries to Solve Queries
Using Set Operators
Managing Tables Using DML Statements
Managing Objects with Data Dictionary Views
Managing Views, Sequences, and Synonyms
Understanding User Access Control and Privileges
INTRODUCTION
This comprehensive examination is designed for candidates preparing for
the Oracle Database SQL 1Z0-071 certification exam. It assesses
knowledge of SQL fundamentals, data retrieval, filtering, functions, joins,
subqueries, DML, DDL, and user access control. The examination employs
multiple-choice and scenario-based questions that mirror the actual exam
format. Emphasis is placed on critical thinking, syntax accuracy, and the
practical application of SQL to real-world database scenarios. Each
question is accompanied by a verified answer and detailed rationale to
support learning and exam readiness.
SECTION ONE: QUESTIONS 1–100
1. Which SQL statement is used to retrieve data from a database?
A. GET
B. OPEN
,C. SELECT
D. EXTRACT
C. SELECT
RATIONALE: The SELECT statement is the fundamental SQL
command used to query and retrieve data from one or more tables in a
database. GET, OPEN, and EXTRACT are not standard SQL data retrieval
commands .
2. Which clause is used to filter rows returned by a SELECT
statement?
A. ORDER BY
B. GROUP BY
C. WHERE
D. HAVING
C. WHERE
RATIONALE: The WHERE clause is used to specify conditions that
filter which rows are returned by a SELECT statement. ORDER BY sorts
results, GROUP BY groups rows for aggregation, and HAVING filters
groups after aggregation .
3. Which operator is used to search for a pattern in a column?
A. IN
B. BETWEEN
C. LIKE
D. IS NULL
C. LIKE
RATIONALE: The LIKE operator is used for pattern matching in SQL,
typically with wildcards such as % (any string) and _ (single character). IN
checks for membership in a list, BETWEEN checks a range, and IS NULL
checks for null values .
4. Which function is used to find the number of rows in a table?
,A. SUM()
B. AVG()
C. COUNT()
D. MAX()
C. COUNT()
RATIONALE: The COUNT() function returns the number of rows that
match a specified condition or the total number of rows in a table. SUM,
AVG, and MAX are used for numeric aggregation, not counting rows .
5. What is the result of the following expression: SELECT
TRUNC(ROUND(45.926, 2), 1) FROM DUAL;?
A. 45.9
B. 45.92
C. 45.93
D. 45.0
A. 45.9
RATIONALE: ROUND(45.926, 2) rounds to 45.93. TRUNC(45.93, 1)
truncates to one decimal place, resulting in 45.9. The TRUNC function
removes digits without rounding .
6. Which of the following is NOT a valid SQL constraint?
A. PRIMARY KEY
B. FOREIGN KEY
C. UNIQUE
D. INDEX
D. INDEX
RATIONALE: INDEX is a database object used to improve query
performance, not a constraint. PRIMARY KEY, FOREIGN KEY, and
UNIQUE are all valid SQL constraints that enforce data integrity rules .
7. What is the difference between UNION and UNION ALL?
A. UNION removes duplicates; UNION ALL does not
B. UNION ALL removes duplicates; UNION does not
, C. UNION returns only common rows; UNION ALL returns all rows
D. There is no difference
A. UNION removes duplicates; UNION ALL does not
RATIONALE: UNION combines the results of two queries and removes
duplicate rows. UNION ALL combines results but retains all duplicates.
UNION ALL is generally faster because it does not perform duplicate
elimination .
8. Which of the following is TRUE about NULL values in SQL?
A. NULL equals zero
B. NULL equals an empty string
C. NULL means unknown or missing data
D. NULL can be compared using =
C. NULL means unknown or missing data
RATIONALE: NULL represents unknown, missing, or inapplicable data.
It is not equal to zero or an empty string. Comparisons with NULL using =
or != return unknown, not true or false. Use IS NULL or IS NOT NULL to
check for null values .
9. Which SQL statement is used to create a new table in a database?
A. MAKE TABLE
B. CREATE TABLE
C. NEW TABLE
D. ADD TABLE
B. CREATE TABLE
RATIONALE: The CREATE TABLE statement is used to define and
create a new table in the database, specifying column names, data types,
and constraints .
10. What is the purpose of the DISTINCT keyword in a SELECT
statement?
A. To sort the result set
B. To filter rows based on a condition