getting count and group by in PSQL using Case Or RoundOff and pivot based on a point? how many pupils have passed and how many have failed

前端 未结 0 1247
广开言路
广开言路 2021-01-22 21:26

A pupil can pass or fail in test. Total Marks = 100. 0-30 marks means fail. 31-100 marks means passed exam.

Example: I have table called pupil:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题