Can anyone provide me the query for following criteria.

1. I have defined test set in Target Cycle = 'Dif"

2. I have 10 test sets in folder "Diff"

I need report as following tabular formate based on Target Cycle.

Test_Set_Name passed Failed NoRun Run

Every result should be based on "Target Cycle"

First time I am working in excel generator and I am not familiar with the "Field name " and Table name of QC. Can anyone suggest me on this.