Home > database >  Update the join statement encountered Unknown column 'value name' in 'the field list&
Update the join statement encountered Unknown column 'value name' in 'the field list&

Time:11-18

Ladies and gentlemen, user1 table is as follows:
+ -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- +
| user_name | over |
+ -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- +
| | | sun wukong fight against Buddha
| | sand monk | golden body rohan
Buddha | | | tang's monk qualities
| pig eight quit to net altar angel | |
+ -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- -- -- +
User2 table is as follows:
+ - + -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- +
| | id user_name | over |
+ - + -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- +
| 1 | | Monkey King Buddha |
But the king bull | 2 | | be subdued |
| | 3 | dumpling Lord be subdued |
4 | | peng Lord | be subdued |
5 | | | lion camel king be subdued |
+ - + -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- -- -- -- +
Mysql> The update user1 inner join user2 on user1. User_name=user2. User_name set user1. Over=` Monkey King `;
ERROR 1054 (42 s22) : Unknown column 'Monkey King' in 'the field list'
Why do I perform this statement will appear above the mistake?
Wow, please help
  • Related