I have table and this table contain result column with some entries. I just wanted to know how to get individual count these entries using MySql Query like this (see result required)…
also
(see the result column image and query) or helps are definitely appreciated
Result Column Image

Query
SELECT cpd.result FROM cron_players_data cpd
WHERE cpd.`status` = '1'
AND (cpd.`result` = '1' OR cpd.`result` = '2')
AND cpd.`player_id` = '81'
Result Required
result count
1 2
2 6
1 Answer