Exam 11: Group Functions

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

Which of the following is a valid statement?

(Multiple Choice)
4.9/5
(34)

A(n) ____________________ should be included as the argument for the COUNT function to include NULL values in the results.

(Short Answer)
4.9/5
(36)

Contents of the BOOKS table Contents of the BOOKS table    -Based on the contents of the BOOKS table, which of the following is a valid SQL statement? -Based on the contents of the BOOKS table, which of the following is a valid SQL statement?

(Multiple Choice)
4.7/5
(38)

If a group function is used in the SELECT clause, then any individual columns listed in the SELECT clause must also be listed in the  ORDER BY \underline { \text { ORDER BY } } clause. _________________________

(True/False)
4.8/5
(37)

The HAVING clause is used to restrict the groups returned by a query.

(True/False)
4.8/5
(37)

If a SELECT statement contains a GROUP BY clause, but no ORDER BY clause, the results will be presented in ____________________ order based on the column(s) listed in the GROUP BY clause.

(Short Answer)
4.9/5
(41)

The  GROUP BY \underline {\text { GROUP BY } } clause is used to restrict the groups returned by a query. _________________________

(True/False)
4.7/5
(32)

The MAX function can be used with character data.

(True/False)
4.9/5
(37)

The ____________________ clause is used to group data based upon a specified column or columns.

(Short Answer)
4.9/5
(40)

If a SELECT statement contains HAVING, GROUP BY, and WHERE clauses, the ____ clause will be processed first.

(Multiple Choice)
4.8/5
(34)

Describe how the COUNT function processes NULL values when the function is executed.

(Essay)
4.9/5
(30)

The ____ function can be used to include NULL values in a calculation.

(Multiple Choice)
4.7/5
(34)

The WHERE clause filters the data before grouping, while the HAVING clause filters the groups  after \underline { \text { after } } grouping is performed. _________________________

(True/False)
4.8/5
(42)

The ____________________ function can be used to determine the smallest value in a specified column.

(Short Answer)
4.7/5
(41)

Contents of the BOOKS table Contents of the BOOKS table    -Which of the following can be used with date columns? -Which of the following can be used with date columns?

(Multiple Choice)
4.8/5
(36)

Column aliases can be used in the GROUP BY clause.

(True/False)
4.9/5
(34)

The COUNT function can only be used for numeric columns.

(True/False)
4.7/5
(39)

The MIN function is used to determine the smallest value in a specified column.

(True/False)
4.8/5
(36)

The COUNT()\underline { \operatorname{COUNT}\left(^{*}\right) } function can be used to count the number of rows containing NULL and non-NULL values. _________________________

(True/False)
4.7/5
(37)

Which of the following cannot be used with date columns?

(Multiple Choice)
4.8/5
(30)
Showing 21 - 40 of 134
close modal

Filters

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