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