Quantcast
Channel: All Quality Center / ALM Practitioners Forum posts
Viewing all articles
Browse latest Browse all 14708

Query Help Please

$
0
0

Hi,

 

Any help or direction would be great. I have a query that looks at the defects that are linked to a script (see below)

 

SELECT Cnt
From (SELECT BG_BUG_ID AS Cnt FROM (BUG LEFT JOIN LINK ON BG_BUG_ID = LN_BUG_ID )
LEFT JOIN V_LINK_TESTCYCL on LINK.LN_BUG_ID = V_LINK_TESTCYCL.LN_BUG_ID
LEFT JOIN CYCLE ON LINK.LN_ENTITY_ID = CY_CYCLE_ID
LEFT JOIN TESTCYCL on V_LINK_TESTCYCL.LN_TESTCYCL_ID = TC_TESTCYCL_ID
LEFT JOIN test on tc_test_id = ts_test_id
WHERE
TS_EXEC_STATUS <> 'Passed'
AND TS_TEST_ID = 2   )

GROUP BY Cnt
ORDER BY Cnt Asc 

 

My result comes back as expected....

 

CNT

------

2

------

3

------

4

------

 

What I am tying to acheive is a query that takes the results in the rows and combines them into one.

 

CNT

-------

2;3;4

-------

 

 

Cheers!!


Viewing all articles
Browse latest Browse all 14708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>