Exam 11: Group Functions

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Group functions return one result per group of rows processed.

(True/False)
4.9/5
(30)

The ____________________ function is used to calculate the average of the numeric values in a specified column.

(Short Answer)
4.7/5
(40)

The ____________________ function is used to determine the largest value stored in a specified column.

(Short Answer)
4.7/5
(35)

The COUNT(*) function is only used to count the number of records containing NULL values.

(True/False)
4.7/5
(35)

Group functions can be nested inside  single-row \underline { \text { single-row } } functions. _________________________

(True/False)
4.7/5
(40)

If an individual column is listed in a SELECT clause, along with a group function, the column must also be included in a(n) ____________________ clause.

(Short Answer)
4.8/5
(39)

When a SELECT statement contains WHERE, GROUP BY, and HAVING clauses, the ____________________ clause is always evaluated last.

(Short Answer)
4.8/5
(35)

Contents of the ORDERS table Contents of the ORDERS table    -Based upon the contents of the ORDERS table, which of the following will display how many orders were shipped to each state? -Based upon the contents of the ORDERS table, which of the following will display how many orders were shipped to each state?

(Multiple Choice)
4.7/5
(26)

The ____ function returns the smallest value in a specified column.

(Multiple Choice)
4.8/5
(31)

Contents of the ORDERS table Contents of the ORDERS table    -Based on the contents of the ORDERS table, which of the following SQL statements will display the number of orders that have not been shipped? -Based on the contents of the ORDERS table, which of the following SQL statements will display the number of orders that have not been shipped?

(Multiple Choice)
4.8/5
(37)

By default, the AVG function assumes the ____________________ keyword, which indicates that all values should be included in the calculation.

(Short Answer)
4.9/5
(31)

Contents of the BOOKS table Contents of the BOOKS table    -Based upon the contents of the BOOKS table, which of the following will display the retail price of the most expensive book provided by publisher 3? -Based upon the contents of the BOOKS table, which of the following will display the retail price of the most expensive book provided by publisher 3?

(Multiple Choice)
4.8/5
(39)

When group functions are nested, the  inner \underline { \text { inner } } function is always resolved first. _________________________

(True/False)
4.7/5
(44)

The  AVG \underline { \text { AVG } } function only includes non-NULL values in its calculations. _________________________

(True/False)
4.7/5
(33)

By default, the COUNT function uses the  DISTINCT \underline {\text { DISTINCT } } keyword when counting the values contained in a column. _________________________

(True/False)
4.7/5
(41)

The STDVAR function is used to determine the standard deviation of numeric data.

(True/False)
4.7/5
(35)

AVG, COUNT, and STDDEV are all considered group functions.

(True/False)
4.8/5
(31)

Which of the following is a valid SQL statement?

(Multiple Choice)
4.7/5
(38)

 Single-row \underline { \text { Single-row } } functions return one result per group of rows processed. _________________________

(True/False)
4.8/5
(43)

The ____________________ keyword is used to indicate that only unique values should be included in the calculation performed by the SUM function.

(Short Answer)
4.8/5
(40)
Showing 101 - 120 of 134
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)