exam questions

Exam 1z0-082 All Questions

View all questions & answers for the 1z0-082 exam

Exam 1z0-082 topic 1 question 72 discussion

Actual exam question from Oracle's 1z0-082
Question #: 72
Topic #: 1
[All 1z0-082 Questions]

Which statement is true about aggregate functions?

  • A. Aggregate functions can be nested to any number of levels
  • B. The AVG function implicitly converts NULLS to zero
  • C. Aggregate functions can be used in any clause of a SELECT statement
  • D. The MAX and MIN functions can be used on columns with character data types
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
you1234
Highly Voted 3 years, 6 months ago
D is correct
upvoted 20 times
Ekos
3 years, 1 month ago
i agree
upvoted 1 times
...
...
Lalala8
Most Recent 3 months, 2 weeks ago
Selected Answer: D
The only statement that is true about aggregate functions is: D. The MAX and MIN functions can be used on columns with character data types The other statements are false: A. Aggregate functions can be nested to any number of levels - Aggregate functions can be nested to a maximum depth of 15 levels. B. The AVG function implicitly converts NULLS to zero - The AVG function ignores NULLS when calculating the average. C. Aggregate functions can be used in any clause of a SELECT statement - Aggregate functions can only be used in the SELECT clause and the GROUP BY clause of a SELECT statement. Aggregate functions are functions that perform calculations on groups of rows. Some common aggregate functions include COUNT(), SUM(), AVG(), MAX(), and MIN(). Aggregate functions can be used to calculate a variety of statistics, such as the total number of rows in a table, the average value of a column, or the highest value in a column.
upvoted 1 times
...
Oracle2020
4 months, 4 weeks ago
The correct answer is D It is true that MAX and MIN can be used with character data types. B is incorrect because AVG ignores NULL values C is incorrect because aggregate functions cannot be used in any clause of the select. That is, they are used with SELECT statements that select many rows, scan a set of rows, and return a single response for all of them.
upvoted 1 times
...
RaNik69
7 months, 4 weeks ago
Selected Answer: D
d is correct
upvoted 1 times
...
Lingy
1 year, 2 months ago
A is wrong. Aggregates are not allowed on an outer query. D is correct MAX is allowed only on expressions that evaluate to built-in data types (including CHAR, VARCHAR, DATE, TIME, CHAR FOR BIT DATA, etc.). https://docs.oracle.com/javadb/10.6.2.1/ref/rrefsqlj27781.html#:~:text=MAX%20is%20an%20aggregate%20function,BIT%20DATA%2C%20etc.). https://docs.oracle.com/javadb/10.6.2.1/ref/rrefsqlj33923.html#rrefsqlj33923
upvoted 2 times
...
LeandroHPN
1 year, 6 months ago
D is correct. Max level aggregate functions is 2.
upvoted 1 times
...
danito
3 years, 7 months ago
A is wrong. I think the correct is D
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago