Exam 11: Group Functions

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

The TOTAL function is used to calculate the total value stored in a numeric field for a group of records._________________________​

(True/False)
4.8/5
(27)

The COUNT function can be used to count NULL,as well as,non-NULL values.​

(True/False)
4.9/5
(38)

When the SELECT statement includes both WHERE and GROUP BY clauses,the GROUP BY clause is always evaluated first.​

(True/False)
4.8/5
(35)

The AVG function only includes non-NULL values in its calculations._________________________​

(True/False)
4.9/5
(33)

Which of the following lines of the SQL statement contains an error? 1 SELECT title,MAX(retail) 2 FROM books 3 WHERE retail > 30 4 AND pubid = 1 5 GROUP BY retail

(Multiple Choice)
4.8/5
(30)

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

(Short Answer)
4.7/5
(43)

The GROUP BY clause is used to restrict the groups returned by a query._________________________​

(True/False)
4.8/5
(32)

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.9/5
(40)

Pattern matching features available in a SELECT are targeted to analyze patterns or trends of a specific column of data across many rows.​

(True/False)
4.8/5
(27)

The STDDEV function calculates the standard deviation for the data contained in a specified field._________________________​

(True/False)
4.8/5
(36)

The MIN function can be used with ____ columns.​

(Multiple Choice)
4.9/5
(37)

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

(Multiple Choice)
4.9/5
(38)

The ____ function is used to calculate the total amount stored in a numeric field.​

(Multiple Choice)
4.7/5
(40)

Which of the following is a valid SQL statement?​

(Multiple Choice)
4.9/5
(28)

​The ____________________ function can be used to determine the number of rows that have non-NULL values in a specified column.

(Short Answer)
4.7/5
(33)

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
(42)

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

(Short Answer)
4.9/5
(36)

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

(Multiple Choice)
4.9/5
(34)

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

(Short Answer)
4.8/5
(34)

The VARIANCE function is used to determine the variance in a group of numeric data.​

(True/False)
4.8/5
(33)
Showing 21 - 40 of 137
close modal

Filters

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