SUM(CASE WHEN) with condition of another aggregate function

前端 未结 0 958
無奈伤痛
無奈伤痛 2021-02-04 16:30

I\'m fairly new to SQL and can\'t seem to get my query doing what I want it to do.

I want the sum of one column based on the occurrence of another condition.

My ta

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