I have the following table in the database:
I need to get the row common for subcat_id=1 and subcat_id=8, i.e. the row for client_id=2.
What should be the query for that?
Edited: Lets say I have subcat_id 1 and 8. I need the client_id which has subcat_id 1and 8, in this case 1. I need the common client_id which lies in both subcat_id. Am I making more sense?

subcat_idwith values of 1 and 8 corresponded to 2 differentclient_idvalues. Then what would you do in this case?client_id-subcat_idpair always be unique?