Need help updating database query for WP site


I have a wp site using a social media plugin and need to update a query to set changes for all users. How do I do this? Where do I begin?

This is what I am given to change the settings I need.

UPDATE wp_usermeta SET meta_value = 1 WHERE meta_key = ‘peepso_email_digest_receive_enabled’

Thank you.