Free practice questions
Oracle Database SQL (1Z0-071) practice questions
10 free sample questions with explanations — no account needed. When you're ready, take the full-length timed exam.
63
questions on the full exam
120 min
time limit
63%
to pass (63% (Oracle's published passing score))
Exam domains covered
- Relational Concepts and Retrieving Data18%
- Single-Row Functions and Conditional Expressions18%
- Aggregation, Joins, Subqueries and Set Operators27%
- DML, Transactions and DDL25%
- User Access, Data Dictionary and Time Zones12%
Table: PRODUCTS
+------------+----------+-------+
| PRODUCT_ID | CATEGORY | PRICE |
+------------+----------+-------+
| 1 | BOOK | 20 |
| 2 | BOOK | 20 |
| 3 | TOY | 20 |
+------------+----------+-------+
What does this statement return?
SELECT DISTINCT category, price
FROM products;
Table: DIVISORS
ID NUMERATOR DENOMINATOR
-- --------- -----------
1 12 3
2 12 12
3 12 0
Which expression returns NULL for ID 2 because the two compared values are equal?
Tables:
EMPLOYEES
EMPLOYEE_ID | LAST_NAME | DEPARTMENT_ID
1 | King | 20
2 | Chen | 20
DEPARTMENTS
DEPARTMENT_ID | DEPARTMENT_NAME
20 | IT
Which query fails because of Oracle's rule for USING columns?
Given this table and data:
CREATE TABLE teams (
team_id NUMBER(4),
team_name VARCHAR2(10)
);
Current rows:
TEAM_ID | TEAM_NAME
1 | ALPHA
2 | BETA
3 | ALPHA
Which statements fail because existing data violates the new rule? Choose two.
Select all that apply.
A table is created as follows:
CREATE TABLE travel_log (
depart_at TIMESTAMP WITH LOCAL TIME ZONE
);
A row is inserted in one session and queried in another session with a different time zone. Which statement is true about depart_at when selected?
Given the table SALES_REPS:
REP_ID | REP_NAME | REGION | SALES
1 | Imani | EAST | 900
2 | Jorge | WEST | 1200
3 | Kira | EAST | 1200
4 | Liam | EAST | 700
What is returned by this query?
SELECT rep_name, sales
FROM sales_reps
WHERE region = 'EAST'
ORDER BY sales DESC, rep_name;
Table: CONTACTS
CUST_ID HOME_PHONE WORK_PHONE MOBILE_PHONE
------- ---------- ---------- ------------
1 null 555-1000 555-9999
2 null null 555-2222
3 null null null
What is returned for CUST_ID 1 by this query?
SELECT COALESCE(home_phone, work_phone, mobile_phone, 'NO PHONE') AS best_phone
FROM contacts
WHERE cust_id = 1;
Given the table:
EMPLOYEES
EMPLOYEE_ID | LAST_NAME | SALARY | DEPARTMENT_ID
1 | Hart | 5000 | 10
2 | Ives | 7000 | 20
3 | Jain | 7000 | 30
4 | Kerr | 9000 | 20
What happens when this statement runs?
SELECT last_name
FROM employees
WHERE salary = (
SELECT salary
FROM employees
WHERE department_id = 20
);
Table sales_rep contains a row where salary is 8000 and commission_pct is NULL. What is the result of this statement for that row?
UPDATE sales_rep
SET salary = salary + commission_pct;
Which statement correctly grants a system privilege and allows the recipient to pass that same system privilege to other users?
Ready for the real thing?
Take a full-length, timed 63-question 1Z0-071 practice exam weighted like the official blueprint, with fresh questions each time, results by domain and a full answer review.
Inkwell practice questions are original and independent. Not affiliated with or endorsed by the certification vendor.
