我有一个基本上像标题一样的问题,我尝试过的查询是:
INSERT INTO
pendingresults,
l1_afixtures (pendingresults.TeamAName, pendingresults.TeamA,
pendingresults.TeamAScore, pendingresults.TeamBScore, pendingresults.TeamB)
VALUES (
'$pls',
'$TeamA',
'$TeamAScore',
'$TeamBScore',
'$TeamB')
WHERE
l1_afixtures.team_name = $TeamA
AND
l1_afixtures.fixture = $TeamB
AND
l1_afixtures.disabled = 'enabled';
这个查询有什么问题吗,我知道没有
where l1_afixtures.team_name = $TeamA AND
l1_afixtures.fixture = $TeamB AND l1_afixtures.disabled = 'enabled';
工作,但与 where 功能我似乎无法让它工作
有任何想法吗?谢谢