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