-- No of Total Records using Select Query
Select count(*) from Purchasing.PurchaseOrderDetail
-- No of Records for each group using Select Query
Select PurchaseOrderID, count(*) NoOfRec from Purchasing.PurchaseOrderDetail Group By PurchaseOrderID
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment