SyntaxFix
Write A Post
Hire A Developer
Questions
To get the number of selected rows I usually use the following:
cursor.execute(sql) count = (len(cursor.fetchall))