looks like your alias is causing that one
"Select NodeID"
needs an alias, it should be either dv.NodeID or p.NodeID (whichever you want to limit on)
looks like your alias is causing that one
"Select NodeID"
needs an alias, it should be either dv.NodeID or p.NodeID (whichever you want to limit on)