SELECT article.ID, article.SORTORDER, article.DATE, article.AUTHOR, article.SHOWONFRONT, article.SHOWSTANDALONE, article.ALIASURLDE, article.ALIASURLEN, article.HEADLINEDE, article.HEADLINEEN, article.HEADLINE2DE, article.HEADLINE2EN, article.TEASERDE, article.TEASEREN, article.TEXTDE, article.TEXTEN, article.WEBSITEDE, article.WEBSITEEN, article.ALIASWEBSITEDE, article.ALIASWEBSITEEN, article.DOWNLOAD, article.ALIASDOWNLOADDE, article.ALIASDOWNLOADEN, article.TARGETKEYWORDDE, article.TARGETKEYWORDEN, article.SEOTITLEDE, article.SEOTITLEEN, article.SEODESCRIPTIONDE, article.SEODESCRIPTIONEN, article.URLDE, article.URLEN, article.ANCHORDE, article.ANCHOREN, article.ANCHORURLDE, article.ANCHORURLEN, article.PICTURE, article.ALIGNX, article.ALIGNY, article.SUBJECT, subject.ID AS SUBJECT_ID, subject.SORTORDER AS SUBJECT_SORTORDER, subject.HEADLINEDE AS SUBJECT_HEADLINEDE, subject.HEADLINEEN AS SUBJECT_HEADLINEEN, subject.HEADLINE2DE AS SUBJECT_HEADLINE2DE, subject.HEADLINE2EN AS SUBJECT_HEADLINE2EN, subject.TEASERDE AS SUBJECT_TEASERDE, subject.TEASEREN AS SUBJECT_TEASEREN, subject.TEXTDE AS SUBJECT_TEXTDE, subject.TEXTEN AS SUBJECT_TEXTEN, subject.CONCLUSIONDE AS SUBJECT_CONCLUSIONDE, subject.CONCLUSIONEN AS SUBJECT_CONCLUSIONEN, subject.TARGETKEYWORDDE AS SUBJECT_TARGETKEYWORDDE, subject.TARGETKEYWORDEN AS SUBJECT_TARGETKEYWORDEN, subject.SEOTITLEDE AS SUBJECT_SEOTITLEDE, subject.SEOTITLEEN AS SUBJECT_SEOTITLEEN, subject.SEODESCRIPTIONDE AS SUBJECT_SEODESCRIPTIONDE, subject.SEODESCRIPTIONEN AS SUBJECT_SEODESCRIPTIONEN, subject.URLDE AS SUBJECT_URLDE, subject.URLEN AS SUBJECT_URLEN, subject.COLOR AS SUBJECT_COLOR, subject.BGCOLOR AS SUBJECT_BGCOLOR, subject.PICTURE AS SUBJECT_PICTURE, subject.PICTUREALIGNX AS SUBJECT_PICTUREALIGNX, subject.PICTUREALIGNY AS SUBJECT_PICTUREALIGNY, subject.TOPIC AS SUBJECT_TOPIC FROM article LEFT JOIN subject AS subject ON article.SUBJECT=subject.ID WHERE article.ID= ORDER BY article.DATE DESC,article.SORTORDER DESC
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY article.DATE DESC,article.SORTORDER DESC' at line 1
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY article.DATE DESC,article.SORTORDER DESC' at line 1

