1Z0-149 study materials
1Z0-149 study resources

1Z0-149 key terms

1Z0-149 · Get comfortable with the vocabulary.

SELECT list

The comma-separated set of columns, expressions, or literals that determines which values appear in each row of a query's output. Aliases rename these columns in the result set.

Related: Column alias, Arithmetic expression
Column alias

A temporary name given to a column or expression in a query result, written after the expression either with or without the AS keyword. It lasts only for the duration of the statement.

Related: SELECT list, Quoted identifier
Quoted identifier

A column alias or object name enclosed in double quotation marks, which preserves exact case, spaces, and special characters. Unquoted names are stored in uppercase and referenced case-insensitively.

Related: Column alias
NULL value

A marker for an unknown or inapplicable value, distinct from zero and from the empty string. Any arithmetic involving NULL yields NULL, and comparisons with NULL are never true.

Related: NVL function, IS NULL operator
Dual table

A one-row, one-column dummy table owned by SYS that lets you evaluate expressions or call functions without touching real data, for example SELECT SYSDATE FROM dual.

Related: Pseudocolumn
Arithmetic expression

A calculation in a SQL statement using the operators plus, minus, asterisk, and slash. Multiplication and division bind tighter than addition and subtraction, and parentheses override that order.

Related: SELECT list, NULL value
WHERE clause

The part of a statement that filters rows before they are returned or aggregated, keeping only rows for which the condition evaluates to true. Rows evaluating to false or unknown are discarded.

Related: Comparison operator, IS NULL operator
Comparison operator

A symbol such as equals, not equals, greater than, or less than used in a condition to compare two values. It returns true, false, or unknown when NULL is involved.

Related: WHERE clause, BETWEEN operator
BETWEEN operator

A range test that is inclusive of both endpoints, equivalent to a pair of greater-than-or-equal and less-than-or-equal comparisons. It works with numbers, dates, and character strings.

Related: IN operator, Comparison operator
IN operator

A membership test that checks whether a value matches any item in a supplied list or the result of a subquery. It is equivalent to a chain of equality tests joined by OR.

Related: BETWEEN operator, LIKE operator
LIKE operator

A pattern-matching test for character data. The percent sign matches any sequence of characters, the underscore matches exactly one character, and ESCAPE lets you search for those symbols literally.

Related: IN operator
IS NULL operator

The only correct way to test for the absence of a value. Writing a column equal to NULL always yields unknown, so IS NULL or IS NOT NULL must be used instead.

Related: NULL value, NVL function
ORDER BY clause

The clause that sorts a result set, applied last in query processing. It supports ascending and descending direction, NULLS FIRST or NULLS LAST placement, and referencing select-list aliases or positions.

Related: Column alias, Sort key
Sort key

A column, alias, expression, or positional number named in ORDER BY that defines the sorting sequence. Multiple keys are applied left to right, each breaking ties in the previous one.

Related: ORDER BY clause
Single-row function

A function that operates on one row at a time and returns exactly one result per row, unlike group functions. Character, numeric, date, and conversion functions all belong to this category.

Related: Group function, Conversion function
NVL function

A function that substitutes a replacement value when its first argument is NULL, otherwise returning the first argument itself. Both arguments should share a compatible data type.

Related: NULL value, COALESCE function, NVL2 function
NVL2 function

A three-argument function that returns the second argument when the first is not NULL and the third argument when the first is NULL. It differs from NVL by offering two distinct outcomes.

Related: NVL function
COALESCE function

A function that returns the first non-NULL argument in its list, accepting two or more arguments. It is the standard alternative to nested NVL calls and requires compatible types.

Related: NVL function
NULLIF function

A two-argument function that returns NULL if the arguments are equal and returns the first argument otherwise. It is commonly used to avoid division by zero or to blank out redundant values.

Related: NULL value
Conversion function

A function that changes a value from one data type to another, such as TO_CHAR, TO_DATE, or TO_NUMBER. Explicit conversion is preferred over implicit conversion for clarity and control.

Related: Implicit conversion, Format model
Implicit conversion

Automatic type coercion performed by the database when mismatched types meet, for example comparing a character column with a number. It can silently disable indexes and cause unexpected errors.

Related: Conversion function
Format model

A character pattern of element codes, such as YYYY-MM-DD or FM9990.99, passed to conversion functions to control how dates and numbers are displayed or interpreted. It must match the input layout.

Related: Conversion function, TO_DATE function
TO_DATE function

A conversion function that turns a character string into a date value using a supplied format model. Without a format model it relies on the session's default date format.

Related: Format model, TO_CHAR function
TO_CHAR function

A conversion function that formats a date or number as a character string using a format model. For dates it can also pad with blanks unless the FM modifier is used.

Related: Format model, TO_DATE function
CASE expression

A conditional construct that evaluates conditions in order and returns the result of the first match, with an optional ELSE for no match. It is ANSI-standard SQL usable in both SELECT lists and WHERE clauses.

Related: DECODE function
DECODE function

A legacy conditional function that compares an expression against search values and returns the corresponding result, treating two NULLs as equal. Its nonstandard NULL handling differs from CASE.

Related: CASE expression, NULL value
Group function

A function such as SUM, AVG, COUNT, MIN, or MAX that operates on many rows and returns one value per group. It ignores NULLs except when counting all rows with the asterisk form.

Related: GROUP BY clause, Single-row function
GROUP BY clause

The clause that partitions rows into groups sharing the same values in the listed columns or expressions. Every nonaggregated column in the select list must appear here.

Related: Group function, HAVING clause
HAVING clause

A filter applied to groups after aggregation, allowing conditions on group function results. It differs from WHERE, which filters individual rows before grouping occurs.

Related: GROUP BY clause, WHERE clause
Join

A query operation combining rows from two or more tables based on a related condition. Inner joins keep matches only, while outer joins also preserve unmatched rows from one or both sides.

Related: Equijoin, Outer join
Equijoin

A join whose condition uses equality between columns, typically a foreign key and its matching primary key. Qualifying ambiguous column names with table aliases is usually required.

Related: Join, Table alias
Outer join

A join that returns matched rows plus unmatched rows from one side, filling the other side with NULLs. LEFT, RIGHT, and FULL variants differ in which unmatched rows are preserved.

Related: Join, NULL value
Table alias

A short name assigned to a table in the FROM clause to simplify references and to self-join the same table twice. Once assigned, the alias replaces the table name in column qualifiers.

Related: Equijoin, Self join
Self join

A join in which a table is referenced twice under two different aliases so rows can be compared with other rows of the same table, such as matching employees to their managers.

Related: Table alias, Join
Subquery

A SELECT statement nested inside another statement, used to supply values or rows for comparison, filtering, or data manipulation. It may be single-row or multi-row depending on the operator used.

Related: Correlated subquery, IN operator
Correlated subquery

A subquery that references a column from the outer query, so it is re-evaluated for each candidate outer row. It can be slower than a join but expresses some conditions more naturally.

Related: Subquery, EXISTS operator
EXISTS operator

A test that returns true when a correlated subquery produces at least one row, stopping evaluation at the first match. It is often used instead of IN for existence checks.

Related: Correlated subquery, Subquery
Set operator

An operator such as UNION, UNION ALL, INTERSECT, or MINUS that combines the result sets of two queries. Column counts and data types must correspond positionally between the queries.

Related: UNION ALL, MINUS operator
UNION ALL

A set operator that concatenates the rows of two queries without removing duplicates or sorting. It is faster than UNION because no duplicate elimination step is performed.

Related: Set operator, MINUS operator
MINUS operator

A set operator that returns rows from the first query that do not appear in the second, removing duplicates. It is the Oracle equivalent of the standard EXCEPT operator.

Related: Set operator, UNION ALL
INSERT statement

A data manipulation statement that adds new rows to a table, either one row with a VALUES clause or many rows from a subquery. Omitted columns receive their default or NULL.

Related: UPDATE statement, DEFAULT value
UPDATE statement

A data manipulation statement that changes column values in existing rows selected by a WHERE clause. Omitting the WHERE clause modifies every row in the table.

Related: INSERT statement, DELETE statement
DELETE statement

A data manipulation statement that removes rows matching a WHERE condition while leaving the table structure intact. Unlike TRUNCATE, it can be rolled back and fires delete triggers.

Related: TRUNCATE statement, UPDATE statement
TRUNCATE statement

A data definition statement that quickly removes all rows from a table and releases its space. It is not rollback-able in the usual sense, does not fire delete triggers, and cannot be filtered.

Related: DELETE statement
DEFAULT value

A value defined for a column that is used when an INSERT omits that column or explicitly specifies the DEFAULT keyword. It does not apply when NULL is inserted explicitly.

Related: INSERT statement, NULL value
Sequence

A database object that generates unique numeric values on request, typically for surrogate primary keys. It exists independently of tables and is not affected by commits or rollbacks.

Related: NEXTVAL pseudocolumn, Synonym
NEXTVAL pseudocolumn

The sequence reference that returns the next generated number and advances the sequence. Each reference produces a new value, so the same call should not be repeated in one statement.

Related: Sequence, CURRVAL pseudocolumn
CURRVAL pseudocolumn

The sequence reference that returns the value most recently obtained by NEXTVAL in the current session. It raises an error if NEXTVAL has not yet been called in that session.

Related: NEXTVAL pseudocolumn, Sequence
Synonym

An alias for another schema object that lets users reference it without qualifying the owner and object name. Private synonyms belong to one schema; public synonyms are visible to all users.

Related: Sequence, Index
Index

An optional structure associated with a table that speeds retrieval of rows by providing a fast access path on indexed columns. It consumes space and adds overhead to inserts, updates, and deletes.

Related: Unique index, Synonym
Unique index

An index that enforces distinctness of the indexed column values, automatically created for primary key and unique constraints. It rejects any insert or update that would create a duplicate key.

Related: Index
View

A stored query that behaves like a virtual table, showing selected rows and columns without storing data itself. Simple views on one table can often be updated through to the base table.

Related: Materialized view, WITH CHECK OPTION
WITH CHECK OPTION

A view constraint that prevents inserts and updates through the view from producing rows the view's defining query would not return. It keeps data visible through the view consistent.

Related: View
Materialized view

A view whose query result is physically stored and refreshed on demand or on a schedule. It trades storage and refresh cost for faster reads of expensive aggregations or joins.

Related: View
Temporary table

A table whose rows are visible only to the session or transaction that inserted them and are purged automatically. Global temporary tables persist their definition while private ones vanish at session end.

Related: View
Data dictionary

The set of read-only tables and views maintained by the database that describes every object, user, privilege, and storage structure. Users query it through prefixed views rather than base tables.

Related: USER_TABLES view, ALL_OBJECTS view
USER_TABLES view

A data dictionary view listing tables owned by the current user, including column count and storage statistics. It shows nothing for tables owned by other schemas that the user can access.

Related: Data dictionary, ALL_OBJECTS view
ALL_OBJECTS view

A data dictionary view describing every object accessible to the current user, whether owned by that user or granted by another schema. It includes object name, type, and status.

Related: Data dictionary, USER_TABLES view
Pseudocolumn

A column-like construct that returns a value but is not stored in a table, such as ROWID, ROWNUM, SYSDATE, or a sequence reference. It can be queried but not inserted into.

Related: Sequence, Dual table