Syntax error, unexpected token ORDER, near to ' BY siralama desc', when parsing: SELECT [Application\Models\BasariResim].* FROM [Application\Models\BasariResim] WHERE basariID= ORDER BY siralama desc (118)