Skip to content
Question

Q.Which of the following is not an aggregate function in SQL? (A) COUNT(*) (B) MIN() (C) LEFT() (D) AVG()

CBSECBSE Class XII Board 2025MCQ· 1mImportance★★★★★
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

LEFT() is a string manipulation function, not an aggregate function — it extracts characters from the left side of a string, while COUNT(*), MIN(), and AVG() all perform calculations across multiple rows.

Aggregate functions in SQL are designed to perform calculations on a set of values and return a single summary value. They work across multiple rows of data, collapsing them into one meaningful result. Think of them as tools that answer questions like "How many records are there?", "What's the smallest value?", or "What's the average?" — they digest entire columns of data and give you one number back.

COUNT(*) counts the total number of rows in a result set, including those with NULL values. It's the go-to function when you need to know "how many" of something exists in your database.

MIN() finds the smallest value in a column. Whether you're looking for the lowest price, the earliest date, or the minimum score, MIN() scans through all the rows and returns that single smallest value.

AVG() calculates the arithmetic mean of a numeric column. It adds up all the values and divides by the count, giving you the average — essential for understanding central tendencies in your data.

Now LEFT() operates on an entirely different principle. It's a string function that extracts a specified number of characters from the left side of a text string. For example, LEFT('Database', 4) would return 'Data'. Notice what's happening here: LEFT() works on a single string value at a time, not across multiple rows. It doesn't summarize or aggregate anything — it simply manipulates one piece of text. …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.