Another option worth considering may be
WITH T(ID, Total) AS (SELECT ID, MAX(Total) FROM Table1 GROUP BY ID UNION ALL SELECT ID, MAX(Total) FROM Table2 GROUP BY ID) SELECT ID, MAX(Total) AS Total FROM T GROUP BY ID
If ID,Total
indexed in two tables, perhaps this may give a better plan (untested)
source share