Hello community
I've been breaking my head over something that looks very simple.
I have created two universal device pollers that query (1) the hostnames of all joined access points on a controller and (2) the serial numbers of each joined access point.
Orion puts the results of both pollers in the following table: Orion.NPM.CustomPollerStatus.
Now I want to create a report with SWQL containing 2 columns: Hostname and serial number for each access point.
I can easily query the table and get the values in a row:

SELECT pol1.RowID, pol1.status, pol2.status
FROM Orion.NPM.CustomPollerStatus pol1
RIGHT JOIN Orion.NPM.CustomPollerStatus pol2
ON pol1.RowID = pol2.RowID
The RowID is always matching for each hostname-serial pair. I have been working with self-joins but can't get the result I want.
Any help would be very welcome.
Thanks