added where in, where not in
Added GROUP BY

Fixed resetQueries that was not been executed.
added JOIN LEFT, RIGHT and INNER