Professional KnowledgeHardIBPS SO IT
Which SQL aggregate ignores NULLs, unlike COUNT(*)?
- A. COUNT(*)
- B. SUM
- C. ROW_NUMBER
- D. None; all count NULLs
Correct answer: B. SUM
SUM, AVG, MIN, MAX and COUNT(col) skip NULLs; COUNT(*) counts rows.
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
- Armstrong's pseudo-transitivity says: if X->Y and WY->Z then:
- Decomposing R(A,B,C) with only A->C into R1(A,B) and R2(B,C) is:
- Which statement about indexes is correct?
- A deadlock in a database is detected by examining:
- How many usable host addresses exist in a /27 subnet?
- Using CIDR, aggregating 192.168.0.0/24, 192.168.1.0/24, 192.168.2.0/24 and 192.168.3.0/24 gives: