I Have this table
| status | month | years |
| | | |
| resign | jan | 2019 |
| resign | jan | 2019 |
| Stay | feb | 2019 |
| resign | feb | 2019 |
I want to sum total status with the same value and by month&years
The result should be this
| resign | month | years |
| 2 | jan | 2019 |
| 1 | feb | 2019 |