Syntax error, unexpected token ORDER, near to ' BY slug_nei', when parsing: SELECT COUNT(1) as totalx FROM [InfoIsInfo\Models\Neighborhoods] AS [neighborhoods] WHERE score_nei > 0 AND slug_nei IN ("centro","juarez","zona-centro","hipodromo-condesa","zona-rio","reforma","del-valle-centro","roma","col-centro","napoles","santa-cruz-atoyac","centro-civico-y-comercial","las-palmas","tabacalera","guadalupe","la-martinica","piedad-narvarte","san-benito","campestre","centro-zona-central","guerrero","puebla","san-felipe","zona-pronaf","barrio-zopilocalco","campo-bello","comercial","gamez","las-reynas","manzanillo-centro","narvarte","obrera","obrera-campesina","san-rafael","san-roman","aeropuerto","aguascalientes-2000","americas-britania","badillo","benito-juarez","coatzacoalcos-centro","colima-centro","cordoba-centro","libertad","longoria","magisterial","moctezuma","morelos","primera-seccion","region-98","san-pedro-de-los-pinos","tecoman-centro","tezontepec","actipan","chapultepec-sur","colegio","cto-la-cd-mexico-area-1","ejidal","fresnillo","gertrudis-bocanegra","guadalupe-inn","hidalgo","indeco-animas","insurgentes","jalapa-enriquez-centro","josue-molina","lagos-de-moreno-centro","las-americas","las-fuentes","mexico","noche-buena","nonoalco","parque-industrial-puebla-2000","puerto-mexico","riberena","rodriguez","roma-sur","san-luis-potosi-centro","san-roque","santa-rosa","segunda-seccion","sm-20","xicohtencatl","27-de-septiembre","5-de-diciembre","agustin-arriaga-rivera","anzures","aviacion","balcones-del-valle","bugambilias","caminera","casa-blanca","centro-d-f","centro-urbano","ciudad-del-carmen-centro","costa-brava","cuauhtemoc","del-valle","doctores","el-paraiso") AND fk_id_city_nei= ORDER BY slug_nei (1651)