- A Updating multiple records in a table
- B Inserting data into multiple tables simultaneously
- C Retrieving the total count of records in a table
- D Executing complex SQL queries
- Share this MCQ
Answer:
C
Share this MCQ
A stored function in MySQL would be useful in a scenario where you need to retrieve the total count of records in a table. The function can encapsulate the logic to calculate the count and return it as a single value.
Click me to Read more Question & Answer of Stored functions and triggers - MySQLShare this MCQ