Exam 11: Group Functions

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

The DISTINCT keyword cannot be used with the MAX function.

(True/False)
4.9/5
(25)

When an SQL statement contains nested functions, the ____________________ function is always resolved first.

(Short Answer)
4.9/5
(42)

Which of the following is a valid statement?

(Multiple Choice)
4.9/5
(31)

A group function can be nested inside a(n)____.

(Multiple Choice)
4.8/5
(37)

The WHERE clause specifies which groups will be displayed in the results.

(True/False)
4.8/5
(28)

The SUM function is used to calculate the total amount stored in a numeric field for a group of records.

(True/False)
4.8/5
(32)

A SELECT statement cannot include both a GROUP BY and an ORDER BY clause.

(True/False)
4.9/5
(52)

If a group function is used in the SELECT clause, any ____ listed in the SELECT clause must also be listed in the GROUP BY clause.

(Multiple Choice)
4.8/5
(40)

The SUM function can only be used with ____ data.

(Multiple Choice)
4.8/5
(43)

The only group function that includes NULL values by default is the MIN function.

(True/False)
4.9/5
(31)

Contents of the BOOKS table Contents of the BOOKS table    -Based on the contents of the BOOKS table, which of the following SQL statements will return the total profit generated by books provided by publisher 4? -Based on the contents of the BOOKS table, which of the following SQL statements will return the total profit generated by books provided by publisher 4?

(Multiple Choice)
4.8/5
(33)

If the DISTINCT keyword is not included in the VARIANCE function, the ____ keyword will be assumed.

(Multiple Choice)
4.9/5
(28)

By default, the AVG function will include NULL values when calculating the average of the numeric values in a specified column.

(True/False)
4.9/5
(43)

Contents of the BOOKS table Contents of the BOOKS table    -Based upon the contents of the BOOKS tables, which of the following SQL statements will return the number of different publishers represented in the table? -Based upon the contents of the BOOKS tables, which of the following SQL statements will return the number of different publishers represented in the table?

(Multiple Choice)
4.8/5
(34)

By default, the SUM function assumes the ALL keyword and the result will include multiple occurrences of numeric values.

(True/False)
4.9/5
(32)

Contents of the BOOKS table Contents of the BOOKS table    -Which of the following can be used with character data? -Which of the following can be used with character data?

(Multiple Choice)
4.9/5
(39)

The ____ function calculates the average of the numeric values in a specified column.

(Multiple Choice)
4.8/5
(38)

Functions that return one result per group of rows are called ____ functions.

(Multiple Choice)
5.0/5
(39)

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

(Multiple Choice)
4.8/5
(37)

The MAX function can be used with the ____________________ keyword to ignore duplicate values.

(Short Answer)
4.7/5
(29)
Showing 61 - 80 of 134
close modal

Filters

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