1 2 3 4 5 6 7
| # Query_time: 1 Lock_time: 0 Rows_sent: 1005 Rows_examined: 548139
SELECT t_game2.ID AS ID, IDaraj,youth, IDclub, IDclub2, adate, atime,daraj_test, araj_test,cup,COALESCE(t_araj_test.sort,50000) AS gmSort,status,cl1.club AS club1, cl1.dclub AS dclub1, cl2.dclub AS dclub2,cl2.club AS club2, t_araj_test.IDcountry AS IDcountry, country,t_country.sms AS countryCode, result, result2, resultH, resultH2, resultF, resultF2, resultE, resultE2, resultP, resultP2, isLast
FROM t_game2 LEFT JOIN t_araj_test ON t_araj_test.ID=IDaraj
LEFT JOIN t_country ON t_country.ID=t_araj_test.IDcountry
LEFT JOIN t_club as cl1 ON cl1.ID=IDclub
LEFT JOIN t_club as cl2 ON cl2.ID=IDclub2
WHERE ( (adate > '2019-10-05 11:00:00' and adate < '2019-10-06 15:00:00') ) AND cl1.display=1 AND cl2.display=1 ORDER BY COALESCE(t_araj_test.sort,50000), araj_test, adate, atime; |
Partager