I have to implement standard deviation after retrieving data from the database in C#.
I have to retrieve a set of values from the field name income where th
income
Try the STDEV aggregate function:
select gender , avg(value) , STDEV(value) from YourTable group by gender