📞 0339-0387701 (WhatsApp)
Contact
☰
🔍
Home
Important MCQs
Computer
Current Affairs
Data Science & AI (NCCIA)
Database & Data Handling (NCCIA)
English
Everyday Science
General Knowledge
General Science
Information & Networking (NCCIA)
Islamic Studies MCQs
Maths MCQs
Pak Study
Pedagogy
Software Engineering (NCCIA)
Telecom / Electrical Fundamentals (NCCIA)
Urdu MCQs
Past Papers
ASF Past Papers
FIA Past Papers
FPSC Past Papers
NCCIA Past Papers
NTS Past Papers
PPSC Past Papers
Latest Jobs
Army Jobs
Education Department
Federal Govt Jobs
Health Department
Police Jobs
Sindh Govt Jobs
Resources
About Us
Contact
🔍
Home
» Which aggregate function ignores NULL values?
« Back to Database & Data Handling (NCCIA)
Which aggregate function ignores NULL values?
A. ORDER BY
B. HAVING
C. SUM ✅
D. COUNT(*)
Correct Answer:
C. SUM
Explanation
SUM ignores NULL values when adding.
COUNT(*) is the exception that counts rows rather than values; SUM treats missing values as absent, not zero.
« What is the difference between NULL and an empty string…
What does AVG(Salary) do with NULL salaries? »
Related MCQs
Which of the following is a structural constraint on a relationship?
Which validation check ensures a required field is not left blank?
Which cardinality applies between a Mother and her Children in a typical ER model?
How is a many-to-many relationship between Actor and Film usually mapped in a relational schema?
If an entity set has total participation in a relationship, what happens when the related entity is deleted?
Which of the following is a weak entity in a bank ER diagram?
Which clause lists the table to read data from?
The number of columns in a table is called its: