Homework 4 Flashcards

1
Q

The Oracle —————– statement is used to add multiple rows with a single INSERT statement.

A

The Oracle INSERT ALL statement is used to add multiple rows with a single INSERT statement.

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

Aggregate functions can appear in select lists with ———–, and ——— clauses.

A

Aggregate functions can appear in select lists with ORDER BY, and GROUP BY clauses.

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

The Oracle DISTINCT clause is used to ————————— from the result set.

A

The Oracle DISTINCT clause is used to remove duplicates from the result set.

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

An —————————- summarizes the results of an expression over a number of rows, returning a single value.

A

16) An aggregate function summarizes the results of an expression over a number of rows, returning a single value.

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

—————- returns the number of rows.

A

COUNT returns the number of rows.

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

18) The Oracle ——————– clause is used to sort the records in your result set.

A

18) The Oracle ORDER BY clause is used to sort the records in your result set.

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

The ORDER BY and GROUP BY clauses can only be used in ———— statement.

A

The ORDER BY and GROUP BY clauses can only be used in SELECT statement.

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

When more than one expression is provided in the DISTINCT clause, the query will retrieve ———————– for the expressions listed.

A

When more than one expression is provided in the DISTINCT clause, the query will retrieve unique combinations for the expressions listed.

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

————— is a function which can be used to sum or total the values of a column.

A

SUM is a function which can be used to sum or total the values of a column.

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

———— function returns the average value of an expression.

A

AVG function returns the average value of an expression.

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

The Oracle —————– condition is used to retrieve values within a range in a where clause in a SELECT statement.

A

The Oracle BETWEEN condition is used to retrieve values within a range in a where clause in a SELECT statement.

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

In a select query the —————— pseudocolumn returns a number indicating the order in which Oracle selects the row from a table or set of joined rows.

A

In a select query the ROWNUM pseudocolumn returns a number indicating the order in which Oracle selects the row from a table or set of joined rows.

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

In a select query the —————– clause doesn’t ignore NULL values.

A

In a select query the DISTINCT clause doesn’t ignore NULL values.

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