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 ("delicias","centro","la-dreta-de-leixample","universidad","actur-rey-fernando","sant-gervasi-galvany","lantiga-esquerra-de-leixample","el-raval","la-vila-de-gracia","cuatro-caminos","embajadores","la-nova-esquerra-de-leixample","sant-antoni","les-corts","juan-de-la-cierva","abando","casco-viejo","fatima-levante","casco-historico","san-jose","la-sagrada-familia","palacio","vista-alegre","goya","numancia","recoletos","san-andres","aluche","el-mercat","indautxu","pueblo-nuevo","russafa","las-fuentes","zaidin-vergeles","sant-andreu","sants","ventas","san-diego","la-isleta","pinar-del-rey","barriada-pino-montano","castillejos","del-pilar","sant-pere-santa-caterina-i-la-ribera","hispanoamerica","santutxu","centro-sagrario","almagro","casco-historico-de-vallecas","el-camp-de-larpa-del-clot","justicia","poligono-guadalquivir-sector-sur-fray-a","las-aguilas","san-isidro","el-poble-sec","el-poblenou","el-camp-den-grassot-i-gracia-nova","palomeras-sureste","valverde","puerta-del-angel","la-concepcion","zona-centro","los-angeles","opanel","arguelles","ciudad-jardin-cercedilla","el-barri-gotic","la-marina-del-prat-vermell","palos-de-moguer","eixample-nord","torrero","buenavista","guanarteme","los-rosales","el-fort-pienc","los-remedios","trafalgar","arapiles","el-parc-i-la-llacuna-del-poblenou","santa-catalina-canteras","valdeacederas","colores-entreparques","el-guinardo","caamano-las-viudas-pol-san-cristobal","castellana","palmete","torreblanca","camino-de-ronda","canillas","lucero","el-cabanyal-el-canyamelar","el-clot","el-viso","la-verneda-i-la-pau","penagrande","san-pascual","la-paz","lista","ciudad-jardin","el-putxet-i-el-farro") AND fk_id_city_nei= ORDER BY slug_nei (1807)