CBSE Class 12 Informatics Practices
Question 52 of 70
Importing/Exporting Data between CSV Files/MySQL and Pandas — Question 7
Back to all questionsWe need a connection to an SQL database in order to get data from a table because a database can be accessed by many programs simultaneously, and a connection represents a unique session with the database. This connection allows us to send SQL statements to the database and retrieve the results.