I have tried executing the query, there was incorrect quotes near ”||a.CF_ITEM_PATH||’%. I have fixed that and made the query error free. However the query doesnt extract any results.
Also I want to add that I am looking for only count of unique test cases in a folder parent folder in test lab when compared with the test cases in test plan module.
QC considered same test cases in different test sets as unique but in reality they are just instance of the original test case.