I have this SQL query for CDP neighors that works in report or directly into the database manager query
Select CustomPollerStatusTable.Value AS [Local Interface], NodeCiscoCdpEntries.IPAddress AS [IP Address], NodeCiscoCdpEntries.DeviceId AS Device, DevicePort AS [Remote Interface] From NodeCiscoCdpEntries inner join CustomPollerStatusTable on NodeCiscoCdpEntries.NodeID = CustomPollerStatusTable.NodeID where (NodeCiscoCdpEntries.IfIndex like CustomPollerStatusTable.RowID and NodeCiscoCdpEntries.NodeID = '91') the 91 here will be change for a variable in the Custom query
Result in Database Manager

Now I want to put this as a Table in Node Details but SQL query do not work in Custom Query
How can I translate this in SWQL?