Question: 1. Create a new file under the module_8 directory and name it pysports_queries.py. 2. Write the code to connect to your MySQL pysports database. 3.
1. Create a new file under the module_8 directory and name it pysports_queries.py.
2. Write the code to connect to your MySQL pysports database.
3. Write two select queries, one for the team table and one for the player table. SELECT team_id, team_name, mascot FROM team.
4. Using a for loop, iterate over the cursor and display the results.
Ignore question 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
