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