Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

What restrictions apply to the use of the aggregate functions within the SELECT statement? How do nulls affect the aggregate functions?

What restrictions apply to the use of the aggregate functions within the SELECT statement? How do nulls affect the aggregate functions?

Answers


kelvin
An aggregate function can be used only in the SELECT list and in the HAVING clause.Apart from COUNT(*), each function eliminates nulls first and operates only on the remaining non-null values. COUNT(*) counts all the rows of a table, regardless of whether nulls or duplicate values occur.

kevowmuchiri answered the question on July 4, 2018 at 15:41

Answer Attachments

Exams With Marking Schemes

Related Questions