I get 5 results from this sql code
SELECT count(Location) as total,
sum(case when Location= 'Province_A' then 1 else 0 end) AS count_A,
sum(case when Location= 'Province_A' then 1 else 0 end) AS count_B,
sum(case when Location= 'Province_A' then 1 else 0 end) AS count_C,
sum(case when Location= 'Province_A' then 1 else 0 end) AS count_D
FROM dataBase
How can I capture these 5 results in to int array