Make query.