Re: SQL join between 3 tables
Posted by: Peter Brawley
Date: October 15, 2020 10:30AM

Build such queries bottom to top, first the joins, then the select exprs ...

select p.name as phrase, t.name as language, t.translation
from phrase p
left join translation t on p.id.=fk_phrase
join language l on t.fk_language=l.id;

Options: ReplyQuote


Subject
Written By
Posted
October 15, 2020 05:30AM
Re: SQL join between 3 tables
October 15, 2020 10:30AM
October 15, 2020 09:42PM


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.