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","del-valle-centro","del-valle","col-centro","moderna","zona-centro","bugambilias","independencia","los-angeles","portales","zona-industrial","moctezuma","vista-hermosa","aviacion","letran-valle","guadalupe","jorge-almada","obrera","san-simon-ticumac","anzures","central","jardines-del-moral","miguel-hidalgo","monterrey-centro","san-antonio","villas-de-irapuato","alameda","alamos","anahuac","bellavista","ciudad-cuauhtemoc-centro","cuauhtemoc-norte","hidalgo","jacarandas","juarez","las-americas","las-arboledas","morelos","san-jeronimo","san-luis","santa-rosa","campestre","la-magdalena","ladron-de-guevara","las-palmas","loma-linda","los-pinos","polanco-chapultepec","roma-sur","san-isidro","san-juan","san-mateo-otzacatipan","valle-verde","20-de-noviembre","americas","arboledas","balderrama","benito-juarez","buenos-aires","ciudad-camargo-centro","colima-centro","del-maestro","el-briseno","fraccionamiento-el-campanario","jardines-de-san-ignacio","la-florida","matamoros","narvarte-poniente","ojuelos","pimentel","playas-de-tijuana","rafael-lucio","reforma","rodriguez","san-pedro","san-pedro-cholula","santa-maria-aztahuacan","tabachines","tecate-centro","valle-dorado","ventura-puente","bachigualato","barrera","burocratas-del-estado","ciudad-granja","constitucion","cto-la-cd-mexico-area-1","division-del-norte","doctores","el-refugio","emiliano-zapata","felipe-angeles","flamboyanes","general-pedro-maria-anaya","granjas-mexico","hipodromo-condesa","insurgentes","juan-escutia","las-aves","las-brisas") AND fk_id_city_nei= ORDER BY slug_nei (1680)