I have two queries, one that counts the times a team has beaten a seed in a tournament and one that counts the times a team has lost to a seed in tournament. One of the queries returns 18 results and one returns 21. What I am trying to do is combine the two queries so I can calculate a winning percentage to see who has been doing the best. How do i get the teams that aren't in both queries to show up with zeros in either the wins or losses column? Currently I am only getting the results of teams that have both a win and a loss.
Here is my sql:
SELECT Tbl_Teams.Team, [Copy Of Qry_Tournaments_Sort vs Winner Count].CountOfWinner, [Copy Of Qry_Tournaments_Sort vs Loser Count].CountOfLoser
FROM (Tbl_Teams INNER JOIN [Copy Of Qry_Tournaments_Sort vs Winner Count] ON Tbl_Teams.Team = [Copy Of Qry_Tournaments_Sort vs Winner Count].Team) INNER JOIN [Copy Of Qry_Tournaments_Sort vs Loser Count] ON Tbl_Teams.Team = [Copy Of Qry_Tournaments_Sort vs Loser Count].Team;