Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
SELECT DateField, SUM(Price) AS Price
FROM (SELECT DateField, Price FROM Table1
UNION ALL
SELECT DateField, Price FROM Table2) Tbl1
GROUP BY DateField
--- or:
SELECT COALESCE(Table1.DateField, Table2.DateField) AS DateField,
SUM(ISNULL(Table1.Price,0)+ISNULL(Table2.Price,0)) AS Price
FROM Table1
FULL JOIN Table2 ON Table1.DateField = Table2.DateField
GROUP BY COALESCE(Table1.DateField, Table2.DateField)