All Questions
1 question
0
votes
1
answer
186
views
How to split a SUM column based on another BIT column? [duplicate]
MySQL v5.7
Having this table:
id | sprId | load | calc
-----|----------|---------|---------
1 | 1 | 1 | 7
2 | 2 | 1 | 1
3 | 2 | 1 | ...