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","benito-juarez","bellavista","morelos","emiliano-zapata","san-rafael","aeropuerto","ciudad-juarez-centro","torreon-centro","moderna","arboledas","hidalgo","san-francisco","cumbria","independencia","lazaro-cardenas","obrera","tlalpan-centro","vicente-guerrero","20-de-noviembre","francisco-i-madero","guadalajara-centro","lomas-del-marques-1-y-2-etapa","merida-centro","miguel-hidalgo","revolucion","ensuenos","francisco-villa","lomas-del-pedregal","narciso-mendoza","progreso","roma","san-angel","tenancingo","5-de-mayo","el-mirador","industrial","juarez","las-aguilas","nuevo-laredo-centro","reforma","aguacatal","atlanta-2a-seccion","col-centro","fresnillo","insurgentes-mixcoac","merced-gomez","metepec","moderna-de-la-cruz","portales","rio-grande-centro","san-antonio","san-jose-insurgentes","san-pedro-totoltepec","santa-maria-atarasquillo","santiago-ixcuintla-centro","tierra-blanca","vallejo","agricola-oriental","antonio-barona-centro","aviacion","cuauhtemoc","del-valle-centro","fundo-legal","guadalupe","la-piedad","las-fuentes","libertad","loma-bonita","miravalle","postal","pueblo-nuevo","san-pedro","san-sebastian","santa-maria-la-rivera","vasco-de-quiroga","alamos","altavista","capricornio","centro-huehuetoca","chapultepec","ciudad-adolfo-lopez-mateos","colima-centro","colinas-del-lago","condesa","cuautlixco","del-valle","el-mante","esperanza","hipodromo","jacarandas","la-joya","plutarco-elias-calles","polanco-chapultepec","residencial-los-lirios","san-carlos","san-jose","san-marcos","san-miguel") AND fk_id_city_nei= ORDER BY slug_nei (1700)