split queries, intermediate