How to do - MS SQL C# Excel Access
Saturday, 21 October 2017
MSSQL - How to sum each column values
Watch this example on YouTube
SELECT Qty, Price
FROM Orders
UNION ALL
SELECT SUM(Qty) AS Expr1, SUM(Price) AS Expr2
FROM Orders
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment