I have a "games" table which contains player_id
and player_action
.
player_id | player_action
1 | move
1 | move
1 | attack
2 | attack
2 | attack
3 | move
3 | move
And I have to get all player with "move" action but only one row per player, result should looks like
1 | move
3 | move
Would anyone have an idea on how to achieve this?