Question 22Asked in Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 2 (2:00 PM)

Which aggregate function in SQL displays the number of values in the specified columnSQL में कौन सा संगणना फंक्‍शन (aggregate function) नल (NULL) वैल्‍यूज़ (values) को अनदेखा

Which aggregate function in SQL displays the number of values in the specified column ignoring the NULL values ?
SQL में कौन सा संगणना फंक्‍शन (aggregate function) नल (NULL) वैल्‍यूज़ (values) को अनदेखा करते हुए निर्दिष्‍ट कॉलम (specified column) में वैल्‍यूज़ (values) की संख्‍या प्रदर्शित करता है ?
  1. Alen ( )len ( )
  2. Bcount ( )count ( )
  3. Cnumber ( )number ( )
  4. Dnum ( )num ( )
Show answerHide answer

Correct answer: (B) count ( )count ( )

Explanation

COUNT(column) returns the number of non-NULL values in that column. COUNT(*) counts all rows. len(), number() and num() are not SQL aggregate functions.COUNT(column) उस कॉलम के non-NULL मानों की संख्या लौटाता है। COUNT(*) सभी पंक्तियाँ गिनता है। len(), number() और num() SQL aggregate फ़ंक्शन नहीं हैं।

From Bihar STET 2025 Paper II Computer Science PYQ, 3 Nov 2025, Shift 2 (2:00 PM)

This is question 22 of Bihar STET 2025 Paper II Computer Science PYQ, 3 Nov 2025, Shift 2 (2:00 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.