select * from `categories` WHERE Cid='2' and Published = 'Yes'