21 Nov 2014 by Afzaal Ahmad Zeeshan
The above query would return only one row, because the FScoreID is same throughout the table. You can create two queries. One would select the DISTINCT data, and the second one can be used inside a loop, to see for the data present for each of this DISTINCT data. Try this, SELECT...