Support for join, where, order by