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

A) ALL
B) EVERY
C) TOTAL
D) EACH

1 Answer

1 vote

Final answer:

The AVG function by default assumes the ALL keyword for including all values in an average calculation.

Step-by-step explanation:

By default, the AVG function assumes the ALL keyword, which indicates that all values should be included in the calculation. This is typically used in SQL to compute the average value of a column. For example, when a professor calculates the average exam score for their class using all the available scores, the average is considered a parameter of the entire population.SQL Server AVG () function is an aggregate function that returns the average value of a group. The following illustrates the syntax of the AVG () function: ALL instructs the AVG () function to take all values for calculation. ALL is used by default. DISTINCT instructs the AVG () function to operate only on unique values.

User Densom
by
8.2k points