mysql 8 pivot query should return a non null value

前端 未结 0 984
花落未央
花落未央 2020-12-28 14:40

I would like the following pivot query to show value 0 instead of null,

SELECT 
    pi.employeeId,
    pi.Id,
    MAX(CASE
        WHEN pi.category = \'Repaym         


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