This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Problem with sql code

I have wrote this SQL code but cannot find the problem with it

Select

Nodes.Caption AS ServerName,

Nodes.DeviceRole AS DeviceRole,

(

SELECT

Nodes.Caption

FROM dbo.NodeIPAddresses AS Ips

)

FROM dbo.Nodes