📞 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
» What does COALESCE(NULL, NULL, ‘Default’) return?
« Back to Database & Data Handling (NCCIA)
What does COALESCE(NULL, NULL, ‘Default’) return?
A. NULL
B. Empty string
C. An error
D. 'Default' ✅
Correct Answer:
D. 'Default'
Explanation
COALESCE scans left to right and returns 'Default', the first non-NULL value.
If all arguments are NULL it returns NULL.
« Which function returns the first non-NULL value in a list?
What is the result of NULL AND FALSE? »
Related MCQs
Which of the following is most likely to be a key attribute of the Student entity set?
What is an exclusive lock?
A Music system has Playlist and Song in a many-to-many relationship. What extra attribute fits in the junction table PlaylistSong?
Which of the following belongs to the internal level rather than the conceptual level?
Which example shows a super key that is not a candidate key?
What is meant by the maximum cardinality of a relationship?
Which of the following is NOT a composite key?
A multivalued attribute is best defined as which of the following?