우당탕탕 개발일기

MSSQL 표준편차 구하기 본문

What I Learned/SQL

MSSQL 표준편차 구하기

rilee 2022. 8. 23. 16:29
728x90

STDEV 썼을 때 NULL 값 나온다.

=> ROW에 값이 하나일 때

 

https://stackoverflow.com/questions/20937087/stdev-function-returns-null-when-table-contains-only-one-row

 

StDev() function returns Null when table contains only one row

I am trying to use the StDev function and am getting blank results. I am using it as... SELECT StDev(fldMean) FROM myTable Where fldMean contains a value of 2.3 and should evaluate to 0 but inste...

stackoverflow.com

 

728x90