हिंदी

Assertion (A): COUNf function ignores DISTINCT Reason (R): DISTINCT ignores the duplicate values. -

Advertisements
Advertisements

प्रश्न

Assertion (A): COUNf function ignores DISTINCT

Reason (R): DISTINCT ignores the duplicate values.

विकल्प

  • Both A and R are true and R is the correct explanation for A. 

  • Both A and R are true and R is not correct explanation for A. 

  • A is true but R is false. 

  • A is false but R is true.

MCQ

उत्तर

A is false but R is true.

Explanation:

DISTINCT when given with COUNT, evaluates the expression for each row in a group, and returns the number of unique, nonnull values.

shaalaa.com
Functions in SQL
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×