I need count the cc column. in the way that the result will this with only 2 rows. first row. the quantity of people that have premio_id = 0 and the second row, the quantity of people that have premio_id different to 0. thanks all.
simulation of result.
| quantity_people | premio type     |
|    3000         |     0           |
|    25231        | different to  0 |
Table:

 
     
    