select * from blogs where id=4 and status=1