Merge pull request #1 from kittee/join

Join
fix multiple tables join
Merge pull request #9 from kittee/master

fix multiple tables join