SELECT STDDEV(mark) , STD(mark), STDDEV_POP(mark) FROM `student`
Output is here
STDDEV(mark) | STD(mark) | STDDEV_POP(mark) |
---|---|---|
16.49766163752223 | 16.49766163752223 | 16.49766163752223 |
Restrict decimal places by using FORMAT()
SELECT FORMAT(STDDEV(mark),2) FROM `student`
Output is here
FORMAT(STDDEV(mark),2) |
---|
16.50 |
Author
🎥 Join me live on YouTubePassionate about coding and teaching, I publish practical tutorials on PHP, Python, JavaScript, SQL, and web development. My goal is to make learning simple, engaging, and project‑oriented with real examples and source code.