Hi there!
is it possible to left join only if previous left join return null?
for example, I have couple of permissions: user, article, media.
I want to join user permission first, and if something is returned, I do NOT want to perform other two types of left join. But if user permission is null, I want to check if there is article permission. If not, I want to check if there is media permission.
Thank you in advance!