MySQL Forums
Forum List  »  Newbie

Re: In JOIN, what happens two of the same id name appears?
Posted by: Peter Brawley
Date: March 01, 2021 11:44AM

> how JOIN works between two databases.

You mean two tables.

To answer your question, use aliases, eg ...

SELECT web_events.id as eventid, accounts.id as acctid, ...

Options: ReplyQuote




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.