Add query support on joins

Signed-off-by: José Luis Di Biase <josx@interorganic.com.ar>
Add inner join support

Signed-off-by: José Luis Di Biase <josx@interorganic.com.ar>