Select query changed.