syntax error: select count(id) as dem from table_ where hienthi=1 and type='' order by stt,id desc