CBSE Class 12 Informatics Practices Question 5 of 16

Importing/Exporting Data between CSV Files/MySQL and Pandas — Question 13

Back to all questions
13
Question

Question 13

In pandas.read_sql(<A>, <B>), <A> is

  1. connection name
  2. table name
  3. SQL query string
  4. database name
Answer

SQL query string

Reason — The <A> parameter in pandas.read_sql(<A>, <B>) represents the SQL query string used to fetch data from the database.