Study guide · Flashcards and memory notes

Oracle AI Database SQL Associate flashcards

48 recall cards for Oracle exam 1Z0-171 across eleven published topics. Deck sizes are Certicab’s editorial study allocation.

Oracle Database SQL11 decks · 48 cardsNo sign-up required

How to use these cards: Say the function or operator out loud before you flip the card, and mark it honestly. Revisit the cards you missed tomorrow rather than rereading them right away. Progress is kept only while this page is open. For the full explanations, see the core notes.

Study mode

Choose a deck, flip each card, and mark what you already know.

All flashcards

Select a question to reveal its answer.

Deck 1 · Concepts

Relational basics.

3 cards
1.1What does a primary key identify?

Each row in a table.

1.2What does a foreign key do?

References a parent key and can enforce referential integrity.

1.3Why normalize?

Reduce redundant data and update anomalies by separating repeating groups.

Deck 2 · SELECT

Filters and sorts.

6 cards
2.1Which clause filters rows?

WHERE.

2.2Which clause sorts results?

ORDER BY.

2.3How do you test NULL?

IS NULL / IS NOT NULL—not = NULL.

2.4Is BETWEEN inclusive?

Yes—both endpoints are included.

2.5LIKE wildcards?

% any length; _ one character. Use ESCAPE for literals.

2.6NULLS LAST with DESC?

Non-nulls sort DESC; nulls after them.

Deck 3 · Functions

10 cards in this deck—drill hard.

10 cards
3.1NVL(null, x)?

Returns x.

3.2NULLIF(a,a)?

Returns NULL.

3.3COALESCE(a,b,c)?

First non-NULL argument.

3.4String → DATE?

TO_DATE with a format model.

3.5DATE → string?

TO_CHAR with a format model.

3.6String → number?

TO_NUMBER.

3.7NVL2(expr,a,b)?

If expr not null → a; if null → b.

3.8ROUND vs TRUNC 15.193 to 1 dp?

ROUND → 15.2; TRUNC → 15.1.

3.9COUNT(*) vs COUNT(col)?

COUNT(*) counts rows; COUNT(col) skips null col.

3.10Day format gotcha?

Often blank-padded—trim or use FM in comparisons.

Deck 4 · Joins

Multi-table queries.

5 cards
4.1INNER JOIN keeps?

Matching rows from both sides.

4.2LEFT JOIN keeps?

All left rows, NULLs when right misses.

4.3Cartesian product cause?

Often a missing join condition.

4.4Oracle outer-join operator?

(+) on the deficient side.

4.5Self-join use?

Relate rows in the same table (e.g., emp/manager).

Deck 5 · Subqueries

Nested SELECT.

3 cards
5.1= needs what subquery?

A single-row subquery.

5.2Correlated means?

Inner query references outer columns.

5.3NOT IN + NULL risk?

Three-valued logic can drop unexpected rows.

Deck 6 · SET ops

UNION family.

3 cards
6.1UNION vs UNION ALL?

UNION deduplicates; UNION ALL keeps duplicates.

6.2Set difference in Oracle?

MINUS is named in Oracle’s checklist. Current Oracle SQL also supports EXCEPT as a synonym.

6.3INTERSECT returns?

Distinct rows in both results.

Deck 7 · DML

Row changes.

3 cards
7.1Insert a row with?

INSERT.

7.2Change existing values with?

UPDATE.

7.3MERGE does?

Conditionally INSERT or UPDATE (optional DELETE) on match.

Deck 8 · Objects

Index, synonym, sequence.

3 cards
8.1Sequence NEXTVAL?

Returns next value and advances the sequence.

8.2Synonym is?

An alias for a schema object—not a data copy.

8.3Index helps when?

Selective filters/joins the optimizer can use.

Deck 9 · DDL

Tables and constraints.

6 cards
9.1Create a table with?

CREATE TABLE.

9.2Empty table keep structure?

TRUNCATE TABLE.

9.3ON DELETE CASCADE?

Deletes child rows when parent is deleted.

9.4View is?

A stored query (virtual table).

9.5CTAS does?

Creates and loads a table from a query.

9.6CHECK constraint?

Restricts values to a Boolean condition.

Deck 10 · Access

Privileges and roles.

3 cards
10.1Grant a privilege with?

GRANT.

10.2Remove a privilege with?

REVOKE.

10.3Roles are for?

Grouping privileges for easier administration.

Deck 11 · Dictionary

Metadata and time.

3 cards
11.1USER_ views show?

Objects you own.

11.2ALL_ vs USER_?

ALL_ adds objects you can access.

11.3CURRENT_DATE vs CURRENT_TIMESTAMP?

DATE in session TZ vs TIMESTAMP WITH TIME ZONE.

Continue the Oracle SQL Associate study path

The overview, core notes, flashcards, and practice exams are all published.

Oracle SQL Associate hub →
Available

Overview

Exam format, the eleven topic areas, and a lab plan.

Available

Core Notes

Reference notes for SELECT, functions, joins, DDL, and privileges.

Available · You are here

Flashcards & Memory Notes

48 recall cards in eleven decks across the topic areas.

Available

Practice Exams

200 original questions across the eleven topic areas.

Official exam sources

Card facts follow the Oracle Japan 1Z0-171 exam listing, the Oracle certification catalog, and the Oracle Database documentation. These cards are independent recall prompts, not official exam items.

Apply concepts in the Scenario Workshop →