title: Wordpress Query - Update Username Where Email Equals
body: <p>We have like 350 users in our wordpress environment. We'd need to update all these usernames with a Telegram username for some reason. </p>
  
  <p>Is there a sort of query we can write in SQL so that we can update a username when it meets a specific requirement?</p>
  
  <p>Something like: </p>
  
  <p>update wp_users set user_login = '@telegramname' where email = 'john@doe.com' . </p>
  
  <p>I'm stuck at this and don't know how to approach this since it's not 1 user but 350. </p>
  
  <p>Thanks in advance.</p>