CLN: Fix mypy errors in pandas/tests/io/test_sql.py Reverted and added type changes
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

ref closed PR #28979