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","centro-zona-central","del-valle","del-valle-centro","vista-hermosa","zona-rio","independencia","jardines-del-moral","napoles","guadalajara-centro","reforma","alamos","obrera","roma","libertad","nueva","benito-juarez","cuauhtemoc","juarez","san-juan-de-dios","guadalupe","chapultepec","colima-centro","vertiz-narvarte","hipodromo-condesa","piedad-narvarte","las-palmas","coatzacoalcos-centro","cto-la-cd-mexico-area-1","industrial","ladron-de-guevara","hidalgo","roma-sur","jardines-del-pedregal","polanco-chapultepec","valle-del-campestre","aviacion","condesa","emiliano-zapata","los-pinos","morelos","periodistas","moderna","progreso","col-centro","la-paz","providencia","anzures","mexico","panorama","alameda","fundo-legal","los-angeles","madero","mixcoac","playas-de-tijuana","tecoman-centro","comercial","petrolera","primera-seccion","pro-hogar","campestre","contry","otay-constituyentes","san-felipe","san-jose","tapachula-centro","hipodromo","las-quintas","portales","san-angel","san-felipe-i","bellavista","centro-urbano","fuentes-del-valle","la-mesa","modelo","revolucion","aguascalientes-2000","campestre-churubusco","centro-zona-este","ensenada-centro","jalapa-enriquez-centro","la-purisima","ricardo-flores-magon","san-benito","insurgentes","lomas-de-chapultepec-i-secc","los-girasoles","mitras-centro","pueblo-nuevo","residencias-san-luis","san-antonio","santa-cruz-atoyac","virginia","chapultepec-morales","delicias","las-americas","las-fuentes") AND fk_id_city_nei= ORDER BY slug_nei (1642)