CH. 7 & CH. 8 Flashcards
an alternative name for a column or table in a SQL statement.
ALIAS
the SQL logical operator used to link multiple conditional expressions in a WHERE or HAVING clause. It requires that all conditional expressions evaluate to true.
AND
a SQL aggregate function that outputs the mean average for a specified column or expression.
AVG
in SQL, a special comparison operator used to check whether a value is within a range of specified values.
BETWEEN
A nested ordering sequence for a set of rows, such as a list in which all last names are alphabetically ordered and, within the last names, all first names are ordered.
Cascading Order Sequence
A SQL aggregate function that outputs the number of rows containing noto null values for a given column or expression, sometimes used in conjunction with the DISTINCT clause.
COUNT
A relational operation that yields a new table composed of only the rows with common values in their common attribute(s).
NATURAL JOIN
A relational algebra join operation that produces a table in which all unmatched pairs are retained; unmatched values in the related table are left null.
OUTER JOIN
A SQL clause that produces only a list of values that are different from one another.
DISTINCT
In SQL, a comparison operator that checks whether a subquery returns any rows.
EXISTS
A SQL clause that specifies the table or tables form which data is to be retrieved.
FROM
A SQL clause used to create frequency distributions when combined with any of the aggregate functions in a SELECT statement.
GROUP BY
A clause applied to the output of a GROUP BY operation to restrict selected rows.
HAVING
In SQL, a comparison operator used to check whether a value is among a list of specified values. .
IN
In SQL a comparison operator used to check whether an attribute has a value.
IS NULL
In SQL, a comparison operator used to check whether an attribute’s text value matches a specified string pattern.
LIKE
A SQL aggregate function that yields the maximum attribute value in a given column.
MAX
A SQL aggregate function that yields the minimum attribute value in a given column.
MIN