代码拉取完成,页面将自动刷新
同步操作将从 farich/foot 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
SELECT
ar.`MatchDate`,
ar.`TOVoid`,
ar.`TOVoidDesc`,
ar.`AlFlag`,
ar.`PreResult`,
ar.`Result`,
mh.MainTeamGoals AS MainTeamGoal,
mh.GuestTeamGoals AS GuestTeamGoal,
ar.`HitCount`,
ar.`LetBall`,
ar.`MyLetBall`,
l.Name AS LeagueName,
mh.MainTeamId AS MainTeam,
mh.GuestTeamId AS GuestTeam
FROM
foot.t_league l,
foot.t_match_his mh,
foot.t_analy_result ar,
(SELECT
ar1.`MatchId`
FROM
foot.`t_analy_result` ar1,
foot.`t_analy_result` ar2
WHERE ar1.`MatchId` = ar2.`MatchId`
AND ar1.`AlFlag` = 'E2'
AND ar2.`AlFlag` = 'C1'
AND ar1.`PreResult` = ar2.`PreResult`
AND ar2.`TOVoidDesc` = '') temp
WHERE mh.LeagueId = l.Id
AND mh.Id = ar.MatchId
#AND mh.`MainTeamGoals` != mh.`GuestTeamGoals`
AND ar.`MatchId` = temp.MatchId
AND ar.`AlFlag` IN ('E2', 'C1')
ORDER BY ar.MatchDate DESC,
l.id ASC,
mh.MainTeamId ASC,
ar.`AlFlag` DESC,
ar.`PreResult` DESC
#-------------------------------------
#-------------------------------------
#-------------------------------------
SELECT
COUNT(1) / 2,
ar.`Result`
FROM
foot.t_league l,
foot.t_match_his mh,
foot.t_analy_result ar,
(SELECT
ar1.`MatchId`
FROM
foot.`t_analy_result` ar1,
foot.`t_analy_result` ar2
WHERE ar1.`MatchId` = ar2.`MatchId`
AND ar1.`AlFlag` = 'E2'
AND ar2.`AlFlag` = 'C1'
AND ar1.`PreResult` = ar2.`PreResult`
AND ar2.`TOVoidDesc` = '') temp
WHERE mh.LeagueId = l.Id
AND mh.Id = ar.MatchId
#AND mh.`MainTeamGoals` != mh.`GuestTeamGoals`
AND ar.`MatchId` = temp.MatchId
AND ar.`AlFlag` IN ('E2', 'C1')
GROUP BY ar.`Result`
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。