Nested-loop join algorithm using a left-deep tree vs. other trees