Good Morning Every Body
i need to union two tables but my code not work can any one help me :
my code is :
SELECT U.CUSTOMER_NAME, Sum(U.Quantity_TON) AS SumOfQuantity
FROM (SELECT Customer_Name, Quantity_TON
FROM FELDSPAR
UNION ALL
SELECT Customer_Name, PREVIOUSE_BALANCE
FROM ACCOUNTING_FELDSPAR
) AS U
GROUP BY U.Customer_Name
ORDER BY U.Customer_Name;
thanks