exec_SELECTquery
caller TYPO3\CMS\Core\Database\DatabaseConnection::exec_SELECTquery
ERROR You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-20' at line 6
lastBuiltQuery SELECT BUNDESLAND.BUNDESLAND_ID, REGION.REGION_ID, REGION.EINWOHNERZAHL, BUNDESLAND.NAME as Bundesland, REGION.NAME as Region, CASE
WHEN REGION.LEADER_ILE= "1" THEN "LEADER"
WHEN REGION.LEADER_ILE= "2" THEN "ILE"
WHEN REGION.LEADER_ILE= "3" THEN "LEADER/ILE"
ELSE REGION.LEADER_ILE
END as LEADER_ILE FROM BUNDESLAND INNER JOIN REGION ON REGION.BUNDESLAND_ID = BUNDESLAND.BUNDESLAND_ID WHERE BUNDESLAND.BUNDESLAND_ID = 16 ORDER BY REGION.NAME ASC LIMIT 20 OFFSET -20
debug_backtrace require(sysext/cms/tslib/index_ts.php),php#28 // TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript#232 // TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->recursivelyReplaceIntPlaceholdersInContent#3646 // TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript_process#3679 // TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->USER#3731 // TYPO3\CMS\Frontend\ContentObject\UserContentObject->render#862 // TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->callUserFunction#41 // call_user_func_array#6663 // TYPO3\CMS\Extbase\Core\Bootstrap->run# // TYPO3\CMS\Extbase\Core\Bootstrap->handleRequest#184 // TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler->handleRequest#195 // TYPO3\CMS\Extbase\Mvc\Dispatcher->dispatch#56 // TYPO3\CMS\Extbase\Mvc\Controller\ActionController->processRequest#69 // TYPO3\CMS\Extbase\Mvc\Controller\ActionController->callActionMethod#158 // call_user_func_array#287 // BLE\Elerprojekt\Controller\RegionNachBundeslandController->regionNachBundeslandAction# // BLE\Elerprojekt\Domain\Repository\RegionRepository->getRegionenByBundesland#86 // TYPO3\CMS\Core\Database\DatabaseConnection->exec_SELECTquery#65 // TYPO3\CMS\Core\Database\DatabaseConnection->debug#305


Error: Fehler in der Datenbankabfrage.