I'm new to SQL and I feel like that this must be something easy but cannot figure it out
I have this SQL query using MYSQL
SELECT incomeBand, 
case workLevel when "Casework" then round(COUNT(casenote) / COUNT(DISTINCT memberNumber),0) END, 
case workLevel when "Detailed" then round(COUNT(casenote) / COUNT(DISTINCT memberNumber),0) END, 
case workLevel when "Discrete" then round(COUNT(casenote) / COUNT(DISTINCT memberNumber),0) END, 
case workLevel when "Information" then round(COUNT(casenote) / COUNT(DISTINCT memberNumber),0) END 
FROM xxx-xxx.xxx.table 
WHERE date >= "2020-07-01" AND date <= 2020-09-30" AND funderMatch = "funderx"  
GROUP BY incomeBand, workLevel 
ORDER BY incomeBand
it outputs
band1   null   13   null  null
band1   34    null  null  null
band1   null  null   45   null
band1   null  null  null   63
band2   73    null  null  null
band2   null   12   null  null
band2   null  null   72   null
band2   null  null  null   42
but I want
band1   34    13   45   63
band2   73    12   72   42
How do I roll up the rows to the income band?
thanks
 
    