Test advanced syntax in advanced query.