SELECT proposal_id, voter, LOWER(REPLACE(option,'VOTE_OPTION_','')) as vote
FROM terra.gov_vote
WHERE voter = 'terra1nwrksgv2vuadma8ygs8rhwffu2ygk4j24pxxx0' OR voter = 'terra123gn6j23lmexu0qx5qhmgxgunmjcqsx8g5ueq2'
GROUP BY proposal_id, vote, voter
ORDER BY proposal_id