Dėl techninių kliūčių tinklapis šiuo metu neveikia. Atsiprašome.
The website is currently not working due to technical problems. We're sorry.
Invalid SQL:
SELECT tmp.* FROM (
SELECT g.team_a as team_a_id, g.team_b as team_b_id, g.id as game_id, date_format(g.data, '%d') as day, date_format(g.data, '%m') as month, date_format(g.data, '%Y') as year, date_format(g.data, '%H:%i') as time2, tn1.name_he as team_a_name, tn2.name_he as team_b_name, g.team_a, g.team_b, g.neutral, date_format(g.data, '%Y-%m-%d %H-%i'), g.data, g.game_day, g.score_a, g.score_b, nc.live, nc.live_pages, g.type, g.game_number
FROM (`lkl_games` g, `lkl_team_names` tn1, `lkl_team_names` tn2, `lkl_stages` st)
LEFT JOIN (
SELECT ga.number, ga.id as live, ga.live_pages
FROM nc_games ga
WHERE ga.deleted = 0
AND ga.visible = 1
) nc ON g.id = nc.number
WHERE g.deleted = 0 AND g.season =
AND st.id = g.stage AND st.deleted = 0
AND g.team_a = tn1.team_id AND tn1.season =
AND g.team_b = tn2.team_id AND tn2.season =
AND (score_a IS NULL OR score_a = 0) AND (score_b IS NULL OR score_b = 0)
) tmp WHERE (tmp.team_a_id = '64' OR tmp.team_b_id = '64')
ORDER BY tmp.data ASC LIMIT 5
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 'AND st.id = g.stage AND st.deleted = 0
AND g.team_a = tn1.team_id AND tn1.' at line 11