Which of the following is NOT an aggregate function in standard SQL? MCQ with Answer and Explanation

Which of the following is NOT an aggregate function in standard SQL?
A. LENGTH()
B. COUNT()
C. AVG()
D. SUM()
Answer: Option A
Solution (By JKSSB Mock Tests)
SUM(), AVG(), and COUNT() are aggregate functions operating on multiple rows, whereas LENGTH() is a scalar function acting on a single text value.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Database Management System (DBMS) Questions

Question #1
What is a database transaction?
A. A query that reads data
B. A backup copy of the database
C. A database schema
D. A logical unit of work that consists of one or more SQL statements

Correct Answer: Option D


Explanation:
A transaction is a sequence of operations performed as a single logical unit, ensuring ACID properties.

This question belongs to: Computer Database Management System (DBMS)
Question #2
What is the main advantage of using a DBMS over a file system?
A. Data security and access control are provided
B. All of the above
C. Data redundancy is minimized
D. Data consistency is maintained

Correct Answer: Option B


Explanation:
A DBMS offers advantages like reduced redundancy, consistency, security, concurrent access, and backup/recovery compared to file systems.

This question belongs to: Computer Database Management System (DBMS)
Question #3
Which model represents data in the form of tables?
A. Relational model
B. Entity-Relationship model only
C. Hierarchical model
D. Network model

Correct Answer: Option A


Explanation:
The relational model uses tables (relations) to represent data and relationships.

This question belongs to: Computer Database Management System (DBMS)