What is a 'transaction' in the context of databases?
Q1. What is a 'transaction' in the context of databases?
Answer: A sequence of SQL statements executed as a single, all-or-nothing unit
Explanation: A transaction ensures that either all or none of the operations within it are committed to the database, maintaining data consistency.