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","zona-centro","morelos","benito-juarez","independencia","emiliano-zapata","guadalupe","las-palmas","cuauhtemoc","lazaro-cardenas","hidalgo","portales","bellavista","industrial","chapultepec","fovissste","napoles","obrera","roma","20-de-noviembre","andrade","bugambilias","coatzacoalcos-centro","del-valle-centro","jardines-del-moral","libertad","los-alamos","los-angeles","los-pinos","mixcoac","portales-sur","reforma","san-isidro","del-valle","ejidal","francisco-i-madero","infonavit","la-joya","ladron-de-guevara","san-miguel","santa-anita","tacubaya","alamos","buenavista","las-fuentes","miguel-aleman","nonoalco-tlatelolco-u","santa-maria-la-ribera","vertiz-narvarte","adolfo-lopez-mateos","altavista","centro-civico-y-comercial","del-carmen","jardin-balbuena","moderna","nueva","petrolera","postal","progreso","san-pedro-de-los-pinos","venustiano-carranza","baja-marina","cimatario","colima-centro","doctores","francisco-villa","insurgentes","loma-bonita","madero","magisterial","otay-universidad","pro-hogar","pueblo-nuevo","revolucion","san-juan","santa-ana","vista-hermosa","agricola-oriental","alameda","barrio-alto","campestre-churubusco","fresnillo","infonavit-solidaridad","jalisco","jose-maria-morelos","juarez","las-americas","las-arboledas","lomas-del-real-de-jarachinas-sur","los-encinos","mexico-nuevo","narvarte","playas-de-tijuana","reynosa","roma-sur","san-felipe","santa-rita","santa-rosa","tepic-centro","valle-dorado") AND fk_id_city_nei= ORDER BY slug_nei (1609)