Exam 11: Group Functions

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

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

The optional UNIQUE keyword instructs Oracle 12c to include only unique numeric values in its calculation.​

(True/False)
4.9/5
(49)

Group functions can be nested inside single-row functions._________________________​

(True/False)
4.9/5
(33)

A grouping sets expression can perform multiple Group BY clauses in a single query.​

(True/False)
4.8/5
(29)

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

(Short Answer)
4.9/5
(37)

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

(Multiple Choice)
4.9/5
(28)

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

(True/False)
4.8/5
(26)

​Which of the following is not a GROUP BY extension?

(Multiple Choice)
4.8/5
(43)

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

(Short Answer)
4.8/5
(37)

Group functions can be nested to a depth of ____.​

(Multiple Choice)
5.0/5
(47)

The GROUP BY clause is used to group data.​

(True/False)
4.8/5
(41)

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

(True/False)
4.9/5
(28)

Single-row functions return one result per group of rows processed._________________________​

(True/False)
4.8/5
(37)

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

(True/False)
4.8/5
(38)

The COUNT(*)function can be used to count the number of rows containing NULL and non-NULL values._________________________​

(True/False)
4.9/5
(37)

The WHERE clause can contain group functions._________________________​

(True/False)
4.8/5
(33)

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

(Short Answer)
4.8/5
(38)

Columns used to group data in the GROUP BY clause do not have to be listed in the SELECT clause._________________________​

(True/False)
4.8/5
(41)

​What clause offers many options to identify measures and patterns to analyze in a query?

(Multiple Choice)
4.9/5
(38)

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

(Multiple Choice)
4.9/5
(22)
Showing 61 - 80 of 137
close modal

Filters

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