Select Statements: Special Operators and Aggregate Function Flashcards

1
Q

Instructs the database engine to return information from the database as a set of records.

A

SELECT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Specifies which rows from the tables listed in the FROM clause are affected by the SELECT statement.

A

WHERE clause

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Combines rows with identical values in the specified column-list into a single row.

A

GROUP BY clause

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Specifies which grouped rows are displayed in a SELECT statement with a GROUP BY clause.

A

HAVING clause

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Sorts a query’s resulting rows on a specified column or columns in ascending or descending order.

A

ORDER BY clause

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Calculates the number of rows returned by a query.

A

COUNT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Returns the sum of a set of values contained in a specified column on a
query.

A

SUM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Returns the average of the values in a
group. Null values are ignored.

A

AVG

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Returns the highest value in a group.

A

MAX

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Returns the lowest value in a group.

A

MIN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Determines whether the value of an
expression falls within a specified range
of values.

A

BETWEEN…AND operator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Determines whether the value of an expression is equal to any of several values in a specified list.

A

IN operator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Checks for missing data or null values.

A

IS NULL operator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Used in conjunction with wildcard
characters to match character string
patterns.

A

LIKE operator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly