select
STDDEV(b.sectionscore) s,---------------這里是樣本標准差不是全部數據的
STDDEV(b.sectionscore) s,---------------這里是樣本標准差不是全部數據的
STDDEV_POP(b.sectionscore) s,---------------這個是所有數據的標准差
from subjectregister a
left join subjectsectionscore b
on a.sid = b.subjectregistersid
left join subjectsection c
on b.sectionsid = c.sid
where a.score != '0'
and a.score IS NOT null
and a.subjectcode != 'F'
and a.subjectcode != 'S'
AND
