I have this table :
id col1 col2 col3
1 '' '' bla
2 '' bla bla
3 bla '' ''
I want to build a query that will retun how much cols are not empty for each id.
so the result would be :
id sum
1 1
2 2
3 1
How to do that ?