restricted query