Your problem is solved,just follow this what I have done-
create table tb1(user_level int);
create table tb2(user_level int,username varchar(20));
insert into tb1 values(2);
insert into tb2 values(2,'Mr.X');
I have this two tables like this where user_level is common,now according to you I tried to update the user_level column in both table using one query on a common criteria for both table i.e. username.
I tried to update the value of user_level column from 2 to 3 in both tables where the username is 'Mr.X' using a single query,so I tried the following query and it perfectly worked..
update tb1 inner join tb2
on tb1.user_level=tb2.user_level
set tb1.user_level=3,
tb2.user_level=3
where tb2.username='Mr.X' ;
WHERE tb1.username = "Mr.X" AND tb2.username = "Mr.X"