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","las-fuentes","central-camionera","tapeixtles","valle-verde","coatzacoalcos-centro","ciudad-industrial","centro-civico-y-comercial","aeropuerto","benito-juarez","garita-de-otay","alvaro-obregon","campestre-churubusco","san-pedro-de-los-hernandez","agustin-ruiz-millan","industrial","zona-industrial","allende","reforma","tamarindo","magdalena-de-las-salinas","7-de-julio","central-de-autobuses","las-americas","nueva-industrial-vallejo","tapachula-centro","universidad","guadalupe-victoria","las-cuartillas","obrera","pacifico","fresnillo","hidalgo","sochiloa","tierra-y-libertad","bellavista","cd-delicias","emiliano-zapata","ignacio-zaragoza","morelos","nueva-california","primera-seccion","del-maestro","la-aurora","merida-centro","palma-sola","real-del-monte","san-carlos","santa-fe","ejido-francisco-villa","la-cuesta","las-palmas","mexico","rafael-lucio","residencial-plaza-camichines","roma","san-isidro","chapultepec","colima-centro","cristo-rey","el-rosario","el-vergel","escuela-de-tiro","francisco-i-madero","gonzalez-ortega","guadalupe","irapuato","papantla","pueblo-nuevo","rio-grande-centro","santa-cruz","atlas","comercial","el-jarudo","el-ranchito","gto-sn","guanajuato","guerrero","industrial-vallejo","lindavista","los-alamos","nueva-obrera","plan-de-ayala","san-pedrito","tierra-blanca","vista-hermosa","casa-blanca","celaya-centro","centro-zona-central","cuauhtemoc","francisco-villa","jose-maria-pino-suarez","julian-de-obregon","la-joya","libertad","los-gavilanes","los-pinos","modelo","moroleon-centro") AND fk_id_city_nei= ORDER BY slug_nei (1708)