I would like to update a table in mySql with data from another table.
I have two tables \"people\" and \"business\". The people table is linked to the business tabl
Note, if sort_order is an INT, then don't use '1' - use 1:
UPDATE business b JOIN People p ON p.business_id = b.business_id AND p.sort_order = '1' SET b.email = p.email WHERE b.email = '';