I have table ITEMS
:
Itemid,
ItemName,
OwnerID
Each row represents an item. An Owner can have multiple items. I want to calculate the standard deviation of items/rows per owner. Is it possible to calculate that using the STDEV
built in function?
I tried that but it doesn't seem ok:
select STDEV(COUNT(*)) from dbo.ITEMS
GROUP BY ITEMS.OwnerID