Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Like so?
select foo from apartments a
left join user_table u on u.id=a.user_id AND a.publisher_type=0
left join organization_table o on o.id=a.organization_id AND a.publisher_type=1
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question