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

Need Help. Please tell me what I am doing wrong

$
0
0

Hey Everyone, I just started a new job and I've inherited a lot of queries someone before me designed.

Here is the one in question

 

SELECT
T_SET.CY_CYCLE Test Set.Name AS Browser,
T_INS.tc_status AS Execution_Status,
T_INS.TC_ACTUAL_TESTER AS Tester,
T_INS.TC_EXEC_DATE AS Execution_Date,
T_NAM.TS_NAME Test.Test Case Name AS "Test Case Name",
T_INS.TC_EXEC_TIME /*Test Instance.Start Time*/,
T_INS.TC_EXEC_DATE /*Test Instance.Actual Start Date*/,
T_INS.TC_USER_24 /*Test Instance.Pass*/,
T_INS.TC_CYCLE /*Test Instance.Test Set*/,
T_SET.CY_FOLDER_ID /*Test Set.Test Set Folder*/,
T_NAM.TS_USER_17 /*Test.Release*/,
T_NAM.TS_USER_01 /*Test.Application*/,

Count(T_INS.tc_status) AS Total
FROM testcycl T_INS, cycle T_SET, TEST T_NAM
WHERE T_INS.tc_cycle_id = T_SET.cy_cycle_id AND T_INS.TC_TEST_ID = T_NAM.TS_TEST_ID
AND T_SET.cy_cycle_id IN (SELECT cy_cycle_id FROM cycle WHERE cy_folder_id IN
(SELECT cf_item_id FROM cycl_fold START WITH cf_item_id IN ('17677') CONNECT BY prior cf_item_id = cf_father_id))
AND T_INS.tc_status NOT IN ('No Run')
AND T_INS.TC_ACTUAL_TESTER NOT IN ('""')

Group By T_SET.CY_CYCLE,T_INS.tc_status, T_INS.TC_ACTUAL_TESTER,T_INS.TC_EXEC_DATE,T_INS.TC_EXEC_TIME,T_NAM.TS_NAME, T_INS.TC_EXEC_TIME,
T_INS.TC_EXEC_DATE,
T_INS.TC_USER_24,
T_INS.TC_CYCLE,
T_SET.CY_FOLDER_ID,
T_NAM.TS_USER_17,
T_NAM.TS_USER_01

 

Basically, I need to add another column that will display information from "TS_USER_02" . I have tried adding it below "T_NAM.TS_USER_01 /Test.Application/," but I continually get errors. If I change "01" to "02" it correctly pulls the data, but adding anything seems to break it. Here is a screenshot http://i.imgur.com/qry4sGz.jpg Thanks in advance


Viewing all articles
Browse latest Browse all 14708

Trending Articles



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