Conversation
Assignment2/assignment2.sql
Outdated
| from baseball.batter_counts btc | ||
| left join baseball.game gm | ||
| on btc.game_id = gm.game_id | ||
| group by (btc.team_id)) |
There was a problem hiding this comment.
don't group by team.Id group by batter so you can see their average.
There was a problem hiding this comment.
This was a mistake thanks for letting me know, edited.
|
|
||
| Question 1 | ||
|
|
||
| annual |
There was a problem hiding this comment.
make sure to comment out these labels for the code because it won't run if you don't
There was a problem hiding this comment.
Hi tom, I changed the code a little bit and created the tables at the beginning of the queries, so I commented out this one since I no longer need it, can you check it one more time?
There was a problem hiding this comment.
So I commented out that table that I initially created, and stored all results in their own tables (baseball. annual_batting_average, baseball.total_batting_average, baseball.rolling_batting_average). this should work now.
There was a problem hiding this comment.
Also bit make sure to drop your temporary tables
No description provided.