08.03.2016, 12:51
Try this:
Код:
UPDATE houses INNER JOIN useraccounts ON houses.username = useraccounts.username SET userid = useraccounts.userid