1Z0-071 Cheat Sheet 2026
The 30 highest-yield 1Z0-071 facts, distilled from real exam questions. Print it, save it as a PDF, or study it here — free, no sign-up.
78 questions
120 min time limit
63% to pass
- What is a foreign key in a relational database? → A key that is used to link two tables together by establishing a relationship.
- Why is UNION generally slower in performance compared to UNION ALL? → UNION requires an additional sort and deduplication step to eliminate duplicate rows
- Which clause is used to filter the results of a GROUP BY query? → HAVING
- What does the COUNT(*) function return? → Total number of rows including NULLs
- What is the result of a CROSS JOIN between a table with 4 rows and a table with 3 rows? → 12 rows
- Which SQL clause is used to filter rows returned by a query based on a specified condition? → WHERE
- Which clause in a JOIN allows you to specify a single common column name without a table prefix? → USING
- In the EMPLOYEES table, the MANAGER_ID references EMPLOYEE_ID in the same table. What type of join retrieves each employee and their manager's name? → Self-join
- Which set operator returns all rows from both queries, including duplicate rows? → UNION ALL
- Which set operator returns only the rows that appear in both result sets? → INTERSECT
- What happens in an INNER JOIN when no rows satisfy the join condition? → An empty result set is returned
- Which aggregate function is used to find the average salary per department? → AVG()
- Which DDL command is used to remove a column from an existing table? → ALTER TABLE ... DROP COLUMN
- Which of the following correctly describes how set operators handle NULL values when comparing rows? → Set operators treat two NULL values as equal when determining row matches
- What does a CHECK constraint do? → Verifies that column values satisfy a specific condition
- Which two are SQL features? → providing database transaction control
- When combining two SELECT statements with a set operator, which of the following is a mandatory requirement? → Both SELECT statements must return the same number of columns
- What is a NATURAL JOIN in Oracle SQL? → A join that uses all columns with the same name in both tables
- What type of join returns rows from both tables regardless of whether a match exists? → FULL OUTER JOIN
- Which keyword must follow a table name when performing an ANSI-style FULL OUTER JOIN? → FULL OUTER JOIN
- Which SQL syntax represents an ANSI-standard INNER JOIN? → SELECT * FROM a JOIN b ON a.id = b.id
- Which function returns the highest value in a set of values? → MAX()
- Which of the following queries correctly places the ORDER BY clause when using set operators? → SELECT id FROM emp UNION SELECT id FROM dept ORDER BY id;
- In a compound query using set operators, an ORDER BY clause can reference output columns using which methods? → Column aliases from the first SELECT or position numbers
- Which Oracle data type stores large amounts of character data beyond 4000 bytes? → CLOB
- A query uses GROUP BY department_id. Which column can appear in the SELECT list WITHOUT being inside an aggregate function? → department_id
- A subquery that returns more than one column is called a: → Multiple-column subquery
- An EMPLOYEES table has 10 rows; a DEPARTMENTS table has 5 rows. A CROSS JOIN returns how many rows? → 50
- Which of the following is NOT a valid set operator in Oracle SQL? → INTERSECT ALL
- What is the result of using COUNT(column_name) when some rows have NULL in that column? → It counts only non-NULL rows
Turn these facts into recall: