Hey .. i'm trying to display data from different Tables with the following SQL code:
SELECT
T1.'Key',
T1.'Status',
T2.'Key' AS 'NBS Key',
T2.'Status' AS 'NBS Status',
T3.'Key' AS 'EHOT Key',
T3.'Status' AS 'EHOT Status',
T4.'Key' AS 'EPT Key',
T4.'Status' AS 'EPT Status',
T5.'Key' AS 'OCT Key',
T5.'Status' AS 'OCT Status'
FROM T1 JOIN T2 ON (T2.'Linked Issues' = T1.'Key')
AND T1 JOIN T3 ON ( T3.'Linked Issues' = T1.'Key' )
AND T1 JOIN T4 ON ( T4.'Linked Issues' = T1.'Key' )
AND T1 JOIN T5 ON ( T5.'Linked Issues' = T1.'Key' )
Im using a 'Table Transformation' in Confluence and trying the aforementioned code to display 'Key' & 'Status' from 4 different Tables (all based on the comparison with Table 1 'T1.Key' ) ..
now, this syntax is not returning any error .. it just returns 'The Query returned no rows' message as follows:
From the above screenshot, please ignore the numbers & issues .. these are nothing but the count of issues(Tickets) i have in all those 5 Tables ...
The same code works well and return the data when i have ONLY 2 Tables with one JOIN condition instead of 5 ..
SO, when i try to add more tables and add multiple JOIN conditions, this is not working ..
stiltsoft OR anyone of you ... Please help me on this ...