syntax error: SELECT COUNT(*) as `num` FROM table_baiviet where hienthi=1 and type='dichvu' order by id desc