One-pass join algorithm using a left-deep tree vs. other trees