I am far from the powers of SQL, and there may quite possibly be a better way to get there, but this should get you started...
Orion Platform 2015.1.0, SAM 6.2.0, QoE 2.0, NCM 7.3.2, NPM 11.5, IVIM 2.0.0
SELECT TOP 1500 nd.[NodeID] ,[IP_Address] ,[Caption] FROM [SWNPMDB].[dbo].[NodesData] nd JOIN [SWNPMDB].[dbo].[NCM_NodeProperties] np ON nd.[NodeID] = np.[CoreNodeID]
I hope this helps.
-Will