Trying to create a new column which calculates % of total. eg: 'count_checked out' / 'Total'

后端 未结 0 810
逝去的感伤
逝去的感伤 2020-12-20 17:38

select Region ,HealthCenter_APPT ,APPOINTMENT_TYPE_TRIM ,count(case when Appointment_Status in (\'Checked Out\',\'No Show\') then APPOINTMENT_TYPE_TRIM END) AS \'Total\' ,co

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