MySQL Forums
Forum List  »  Newbie

Re: Lookup multiple tables
Posted by: Peter Brawley
Date: May 22, 2021 09:58AM

Is this what you mean?

update expenditure e
join   card        c on e.cardnumber=c.cardnumber
join   owner       o on c.id_card=o.id_card
join   person      p on p.id_person=o.id_person
set e.name=p.name
where e.name<>p.name;

Options: ReplyQuote


Subject
Written By
Posted
May 22, 2021 02:34AM
Re: Lookup multiple tables
May 22, 2021 09:58AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.