2
Answers

SUM

Maneesh A N

Maneesh A N

11y
880
1
SELECT  SUM(SI.vItemName),SUM(SI.iNos),SUM(SI.deAmount),SUM(TS.dInvoiceDate),
 FROM tblSales TS INNER JOIN tblSalesItem SI ON TS.iSalesID=SI.iSalesID
GROUP BY   SI.vItemName, SI.iNos, SI.deAmount,TS.dInvoiceDate



Msg 156, Level 15, State 1, Line 2
Incorrect syntax near the keyword 'FROM'.


GET ME ANSWER SOON?PLS
Answers (2)