Stable queries