I have 2 MySQL tables like these
- Table main
| email | bounce | status |
- Table bounce
|email |
what i want is a query to update the (bounce and status column) main table with respect to the data from bounce table
this is the query i tried, update main inner join bounce on (main.email = bounce.email) set main.bounce='yes' and main.status='Inactive';