In SWQL Studio, both queries work fine. However when I try to make these to queries one table it fails
I breviated column names in example below.
I tried a lot of varaiations that is why I just broke it down to its simplest form instead of showing all the things that did not work.
1.
SELECT DISTINCT
RUN,
Count(*) AS PD
FROM Orion.NodesCustomProperties
where NOPD > '0'
Group by RUN
order by RUN
2.
SELECT DISTINCT
RUN,
Count(*) AS SBUPD
FROM Orion.NodesCustomProperties
WHERE NOPD > '0'
AND SB like 'SBU%'
Group by RUN
order by RUN
Thank you