You can try in SQL query like
Select * from Category where PK_CATID is not null (Which is always true)
Now concatenate with this Checkboxeslist.selectedValue
sql="Select * from Category where PK_CATID is not null"
sql=sql+ and CategoryName='+Checkboxeslist.selectedValue