Professional KnowledgeHardIBPS SO IT

For a table with X values (10, 20, NULL), the result of SELECT AVG(X) is:

  1. A. 10
  2. B. 30/3 = 10
  3. C. NULL
  4. D. 15

Correct answer: D. 15

AVG ignores NULLs: (10+20)/2 = 15.

More IT Officer Professional Knowledge (IBPS SO) questions

Exams that ask this topic