SQL Compare data from two joined tables i used SQL Server, and have two joined table

Select b.team, SUM(a.total) FROM data1 A 
INNER JOIN team b ON a.teamID = b.teamID
WHERE month = 1 and year = 2019
GROUP by team


second one is like this

Select b.team, SUM(c.total) FROM data2 C 
INNER JOIN team b ON c.teamID = b.teamID
WHERE Date BETWEEN '2019-01-01' AND '2019-01-31'
GROUP by team


and the result will be :

Data 1                   Data 2
TEAM   | Total        TEAM   | Total
Team 1 | 5            Team 1 | 4
Team 2 | 3            Team 2 | 3
Team 3 | 8            Team 3 | 9


i wanted to create query to get result like this :

Team   | Total
Team 1 | 1
Team 3 | -1
WITH
cte1 AS ( SELECT b.team, SUM(a.total) total
          FROM data1 a 
          INNER JOIN team b ON a.teamID = b.teamID
          WHERE a.month = 1 and a.year = 2019
          GROUP by b.team ),
cte2 AS ( SELECT b.team, SUM(c.total) total
          FROM data2 c
          INNER JOIN team b ON c.teamID = b.teamID
          WHERE c.Date BETWEEN '2019-01-01' AND '2019-01-31'
          GROUP by b.team ),
SELECT COALESCE(cte1.team, cte2.team) team, 
       COALESCE(cte1.total, 0) - COALESCE(cte2.total, 0) total
FROM cte1
FULL OUTER JOIN cte2 ON cte1.team = cte2.team
WHERE COALESCE(cte1.total, 0) != COALESCE(cte2.total, 0)


Of course it can be simplified - but it will decrease its clearness.