I am trying to update multiple records in the table using the temporary table using the below query, but doesn’t working. Please tell me the proper way to update multiple records.
UPDATE sarufoo
SET sarufoo.mobile = (SELECT mobile_no FROM logan)
WHERE sarufoo.homep IN (SELECT homep FROM logan);
One neater way to achieve that be would to join the two tables: