Local version of SubQuery is done.