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 S.Sezon_ID= AND R.DateEvents >= '2024-01-21' AND R.DateEvents <= '2024-01-21'
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 'AND R.DateEvents >= '2024-01-21' AND R.DateEvents <= '2024-01-21'
ORDER BY R' at line 12; KOD: 1064
21 января 2024. Результаты. Сезон-. Дивизия B - Футбол - на Молдова.sports.md