Challenger App

No.1 PSC Learning App

1M+ Downloads
Which SQL aggregate function returns the total number of unique values in a column?

ACOUNT (DISTINCT column)

BTOTAL (DISTINCT column)

CUNIQUE (column)

DDISTINCT (column)

Answer:

A. COUNT (DISTINCT column)

Read Explanation:

  • The COUNT DISTINCT function returns the number of unique values in the column or expression, as the following example shows.
  • SELECT COUNT(DISTINCT column_name) FROM table_name; This simple query provides you with the frequency of unique values in the respective column of the passed table.
  • It's a very useful feature in SQL for tasks like finding the number of different categories, unique customers, or distinct items in your dataset.

Related Questions:

Who among the following is known as the father of computer ?
ഒരു ഹൈ ലെവൽ ഭാഷാ പ്രോഗ്രാമിനെ മെഷീൻ ഭാഷയിലേക്ക് വരിവരിയായി പരിവർത്തന ചെയ്യുന്ന സിസ്റ്റം സോഫ്റ്റ് വെയറിന്റെ പേര്?
Which hexadecimal number is equivalent to the decimal number 255 ?

താഴെ തന്നിരിക്കുന്ന പ്രസ്‌താവനകളിൽ നിന്ന് ശരിയായവ തിരെഞ്ഞെടുക്കുക :

  1. പ്രസൻറേഷൻ സോഫ്റ്റ‌് വെയറിൽ പുതിയ സ്ലൈഡ് ചേർക്കുന്നതിനുള്ള ഷോർട്ട്കട്ട് കി ctrl + M ആണ്.
  2. ഓപ്പൺ ഓഫീസ് റൈറ്ററിൽ ഒരു ഡോക്യുമെൻ്റിൽ ടേബിൾ ചേർക്കാനുള്ള ഓപ്ഷൻ ഇൻസേർട്ട് മെനുവിലാണുള്ളത്
  3. ഓപ്പൺ ഓഫീസ് കാൽക്ക് വർക്ക്ഷീറ്റ് ഫയലിൻ്റെ എക്സ്റ്റെൻഷൻ .ods ആണ്
  4. ഓപ്പൺ ഓഫീസ് കാൽക്ക് ആപ്ലിക്കേഷനിൽ ആവറേജ് കാണുന്നതിനുള്ള ഫങ്ഷനാണ് average()
  5. ഓപ്പൺ ഓഫീസ് കാൽക്ക് ആപ്ലിക്കേഷനിലെ count( ) ഫങ്ഷൻ ഉപയോഗിക്കുന്നത് ഒരു റേഞ്ചിലെ ബ്ലാങ്ക് ഒഴികെയുള്ള സെല്ലുകളുടെ എണ്ണം കണ്ടുപിടിക്കുന്നതിനുവേണ്ടിയാണ്
    താഴെ പറയുന്നവയിൽ ഹാർഡ് കോപ്പി ഔട്ട്പുട്ട് നല്കാൻ കഴിയുന്ന കമ്പ്യൂട്ടർ അനുബന്ധ ഉപകരണം ഏതാണ്?