Simplify query execution