Error: select * from pagedetail where subject = 'test' and cat_id ='7' and status=1