Professional KnowledgeHardIBPS SO IT
For a table with X values (10, 20, NULL), the result of SELECT AVG(X) is:
- A. 10
- B. 30/3 = 10
- C. NULL
- D. 15
Correct answer: D. 15
AVG ignores NULLs: (10+20)/2 = 15.
Practise more IT Officer Professional Knowledge (IBPS SO) questionsIT Officer Professional Knowledge (IBPS SO): notes and key points
More IT Officer Professional Knowledge (IBPS SO) questions
- Which join returns all rows from both tables with NULLs for non-matches?
- A view defined with GROUP BY and aggregate functions is generally:
- Which is true of a foreign key constraint with ON DELETE CASCADE?
- With n transactions, the number of possible serial schedules is:
- Under strict two-phase locking, a transaction releases its exclusive locks:
- In the wait-die scheme, what happens when a transaction requests a lock held by another?