SELECT R.Res_ID, R.A_Res, R.B_Res, R.Point_A, R.Point_B , R.DateEvents, R.TimeEvents, R.Game_URL
, T1.Team_ru AS TeamA, T1.Team_URL AS UrlA
, T2.Team_ru AS TeamB, T2.Team_URL AS UrlB
, T.Name AS TurName
, S.Name AS SezonName
FROM `result` AS R
INNER JOIN `sezon` AS T ON(T.Sezon_ID = R.Tur_ID)
INNER JOIN `sezon` AS S ON(T.parent = S.Sezon_ID)
INNER JOIN `teams` AS T1 ON(R.A_ID = T1.Team_ID)
INNER JOIN `teams` AS T2 ON(R.B_ID = T2.Team_ID)
WHERE
ORDER BY R.DateEvents DESC, R.TimeEvents DESC
LIMIT 0, 1000 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 R.DateEvents DESC, R.TimeEvents DESC
LIMIT 0, 1000' at line 13; KOD: 1064
Результаты. Сезон-2006. Национальная Дивизия - Футбол - на Молдова.sports.md