Not all parameters were used in the SQL statement (Python, MySQL)

Do you understand why?

You have attempted to insert 3 numbers and 3 quoted texts. Its likely that one of those has not been used due possibly to how the itertuples are handled. If you can figure out which one is missing then you can track back to the issue. Suggest use IDE such as Pycharm and run in debug and follow each line…