-- 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
Select count(*) from Purchasing.PurchaseOrderDetail
-- No of Records for each group using Select Query
Select PurchaseOrderID, count(*) NoOfRec from Purchasing.PurchaseOrderDetail Group By PurchaseOrderID
0 comments:
Post a Comment