rowcount is a read-only attribute.
1 Like
True
Reason — The rowcount is a read-only attribute that returns the number of rows affected by an execute() method and retrieved from the cursor.
rowcount
execute()
Answered By
3 Likes
Read operation on any table means to fetch some useful information from the table.
Use fetchall() method to retrieve only one value from a database table.
To disconnect database connection, use connect() method.
Update statement is used to insert data into the table.