Build All queries.