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","zona-rio","tampico","obrera","guadalupe","zona-industrial","centro-zona-central","del-valle","tapachula-centro","benito-juarez","morelos","playas-de-tijuana","cuauhtemoc","independencia","aeropuerto","jardin","roma","aviacion","vista-hermosa","ladron-de-guevara","chapultepec","ciudad-industrial","comalcalco-centro","moderna","petrolera","las-fuentes","lazaro-cardenas","coatzacoalcos-centro","ciudad-granja","industrial","primera-seccion","centro-civico-y-comercial","guadalajara-centro","bellavista","emiliano-zapata","adolfo-lopez-mateos","las-americas","libertad","reforma","juarez","roma-sur","providencia","sierra-morena","hidalgo","las-palmas","puerta-de-hierro","san-isidro","progreso","garita-de-otay","jardines-de-san-ignacio","miguel-hidalgo","mitras-centro","santa-maria","zacatecas-centro","1-de-mayo","campestre","del-valle-centro","fresnillo","guadalupe-victoria","madero","nueva","parque-industrial","rio-bravo","los-pinos","mexico","monraz","obispado","san-rafael","las-torres","americana","20-de-noviembre","anahuac","anzures","insurgentes","los-rodriguez","francisco-i-madero","moctezuma","valle-del-campestre","francisco-villa","portales","revolucion","san-francisco","tangamanga","vicente-guerrero","jardines-del-bosque","los-angeles","ricardo-flores-magon","san-benito","tequisquiapan","jardines-del-moral","paraiso","rafael-lucio","azteca","barrera","tecoman-centro","valle-alto","arcos-vallarta","buenavista","centro-urbano") AND fk_id_city_nei= ORDER BY slug_nei (1633)