Add query.