What is the purpose of a stored procedure in a database?
Q1. What is the purpose of a stored procedure in a database?
Answer: To simplify complex operations
Explanation: A stored procedure simplifies complex operations by providing a reusable block of SQL code that can be executed with a single command.