I have table with values like
Book ID email1 email2
101 [email protected] [email protected]
102 [email protected] [email protected]
105 [email protected] [email protected]
I want to update all the values of email1 and email2 from test.com to testmail.com
e.g [email protected] to [email protected],
and [email protected] to [email protected]
how to write update query for this in mysql