• Awesome Alan's code works perfect !!!

    I changed "#classes" to my table name "TestCategory" and it gave the result that I expected.

    Thank you Alan. and also thank you Eugene Elutin.

    How to accept that post as answer?