MySQL Query Error: select count(Id) as num from szikao_wiki_chapter where TypeId=1220 and Id<=