SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '8312012' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '8312012' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '8312012' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 Comments Ponchet Wang - Monastir 2022
Tennis
5
Predictions game
Community
background
Jessika Ponchet
Ponchet, Jessika [4] WTA 167 live 168
5
3
0
0
0
Meiling Wang
WangMeiling [WC] WTA 542 live 543
7
6
0
0
0
All
Pon
Wan
Reduce
Serve game won
Serve points won %
Break point saved
Return points won %
Break point obtained
Break points won
Points won %
Love games
Set points
Match points
Set 1Set 2Set 3Set 4Set 5
Pon
Wan
Set 1Set 2Set 3Set 4Set 5
Pon
Wan
Set 1Set 2Set 3Set 4Set 5
Pon
Wan
Set 1Set 2Set 3Set 4Set 5
Pon
Wan
Set 1Set 2Set 3Set 4Set 5
Pon
Wan
All
Wan
Pon
Expand
Break points won
Points won %
Set 1Set 2Set 3Set 4Set 5
Pon
Wan
Set 1Set 2Set 3Set 4Set 5
Pon
Wan
Set 1Set 2Set 3Set 4Set 5
Pon
Wan
Set 1Set 2Set 3Set 4Set 5
Pon
Wan
Set 1Set 2Set 3Set 4Set 5
Pon
Wan
All Set 1Set 2Set 3Set 4Set 5
Pon
Wan
Serve
Return
All Set 1Set 2Set 3Set 4Set 5
Pon
Wan
Serve
Return
All Set 1Set 2Set 3Set 4Set 5
Pon
Wan
Serve
Return
All Set 1Set 2Set 3Set 4Set 5
Pon
Wan
Serve
Return
All Set 1Set 2Set 3Set 4Set 5
Pon
Wan
Serve
Return
All Set 1Set 2Set 3Set 4Set 5
Pon
Wan
Serve
Return
All Set 1Set 2Set 3Set 4Set 5
Pon
Wan
Serve
XX
XX
Return
XX
XX
All Set 1Set 2Set 3Set 4Set 5
Pon
Wan
Serve
XX
XX
Return
XX
XX
All Set 1Set 2Set 3Set 4Set 5
Pon
Wan
Serve
XX
XX
Return
XX
XX
All Set 1Set 2Set 3Set 4Set 5
Pon
Wan
Serve
XX
XX
Return
XX
XX
All Set 1Set 2Set 3Set 4Set 5
Pon
Wan
Serve
XX
XX
Return
XX
XX
All Set 1Set 2Set 3Set 4Set 5
Pon
Wan
Serve
XX
XX
Return
XX
XX
Send
Règles à respecter
Avatar
SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9446107' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9446107' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9446107' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9446114' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9446114' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9446114' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9446112' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9446112' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9446112' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9446198' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9446198' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9446198' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9433227' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9433227' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9433227' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9433580' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9433580' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9433580' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9433322' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9433322' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9433322' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9432961' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9432961' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9432961' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9432966' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9432966' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9432966' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9432976' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9432976' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9432976' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9432970' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9432970' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9432970' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9432955' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9432955' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9432955' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9433048' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9433048' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9433048' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9433010' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9433010' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9433010' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9429750' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9429750' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9429750' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9429761' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9429761' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9429761' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9429768' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9429768' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9429768' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9429788' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9429788' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9429788' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9425989' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9425989' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9425989' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9426000' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9426000' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9426000' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9426016' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9426016' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9426016' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9426018' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9426018' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9426018' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9426135' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9426135' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9426135' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9426189' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9426189' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9426189' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9426178' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9426178' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9426178' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9425984' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9425984' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9425984' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9426023' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9426023' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9426023' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9425974' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9425974' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9425974' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9425991' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9425991' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9425991' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9425996' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9425996' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9425996' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1 SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , M.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , T.id tournament_id , T.idt tournament_idt , '?' rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , T.ville tournament_city , T.stade tournament_stadium , T.surface tournament_surface , T.surface_photo tournament_surface_photo , T.surface_color tournament_surface_color , T.monnaie tournament_currency , T.prix tournament_prize_money , SCO.nom_fr tournament_country , T.logo tournament_logo , T.debut tournament_start , T.fin tournament_end , T.nbj tournament_nbPlayer , T.genre tournament_genre , T.category tournament_category , T.type tournament_type , T.ids tournament_site , T.year tournament_year , T.importance tournament_importance , '' team1 , '' team2 , T.importance , T.background tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , C.nom court_name , C.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') INNER JOIN tournois T on T.id = M.idt INNER JOIN tournois_name N on N.id = T.id && N.cup = 0 LEFT OUTER JOIN lieux_sites SL on T.ids = SL.id LEFT OUTER JOIN lieux_villes SC on SL.idv = SC.id LEFT OUTER JOIN lieux_pays SCO on SCO.code = SC.pays LEFT OUTER JOIN `livescores_new`.`matchs` LS on LS.tt_match_id = M.id LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts C on C.ids = S.ids && C.ordre = S.court WHERE M.id = '9426169' && M.type_tournoi_add = 0 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , CR.niveau level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , C.id tournament_id , C.parent tournament_idt , CR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , CONCAT(CR.equipe_domicile, '|', CR.equipe_exterieur) tournament_city , '' tournament_stadium , CR.surface tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , CR.date_d tournament_start , '' tournament_end , C.nbj tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , CR.lieu tournament_site , '' tournament_year , 65 tournament_importance , IF(T1.nom_fr, T1.nom_fr, CR.equipe_domicile) team1 , IF(T2.nom_fr, T1.nom_fr, CR.equipe_exterieur) team2 , 65 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M INNER JOIN joueurs P1 on P1.id = M.j1 LEFT OUTER JOIN `joueurs` P1B on P1B.id = M.j1_bis INNER JOIN joueurs P2 on P2.id = M.j2 LEFT OUTER JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT OUTER JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT OUTER JOIN tournois_programmes S on S.idm = M.id LEFT OUTER JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) INNER JOIN `coupes_rencontres` CR on CR.id = M.idt INNER JOIN `coupes` C on C.id = CR.coupe_id INNER JOIN tournois_name N on N.id = C.id LEFT JOIN lieux_sites SL on SL.id = CR.lieu LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays LEFT JOIN `lieux_pays` T1 ON (T1.code = CR.equipe_domicile) LEFT JOIN `lieux_pays` T2 ON (T2.code = CR.equipe_exterieur) WHERE M.id = '9426169' && M.type_tournoi_add = 1 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) UNION SELECT M.* , M.time_start time_start , M.time time_end , M.duration_pause , M.type_match_add type_match , M.type_tournoi_add type_tournament , '' level , M.qualif , M.idw winner_id , P1.id p1_id , P1.nom p1_name , P1.prenom p1_first_name , P1.name_zh p1_name_zh , P1.birthday p1_birthday , P1.sexe p1_gender , P1.nat p1_nat , P1.photo p1_photo , P1.taille p1_height , P1.poids p1_weight , R1.rank p1_rank , R1.liveRank p1_rank_live , P1.pro_depuis p1_turn_pro , '?' p1_best_rank , P1.prise p1_forehand , P1.revers p1_backhand , M.ts1 p1_seed , P1B.id p1b_id , P1B.nom p1b_name , P1B.prenom p1b_first_name , P1B.name_zh p1b_name_zh , P1B.birthday p1b_birthday , P1B.sexe p1b_gender , P1B.nat p1b_nat , P1B.photo p1b_photo , P1B.taille p1b_height , P1B.poids p1b_weight , R1B.rank p1b_rank , R1B.liveRank p1b_rank_live , P1B.pro_depuis p1b_turn_pro , P2.id p2_id , P2.nom p2_name , P2.prenom p2_first_name , P2.name_zh p2_name_zh , P2.birthday p2_birthday , P2.sexe p2_gender , P2.nat p2_nat , P2.photo p2_photo , P2.taille p2_height , P2.poids p2_weight , R2.rank p2_rank , R2.liveRank p2_rank_live , P2.pro_depuis p2_turn_pro , '?' p2_best_rank , P2.prise p2_forehand , P2.revers p2_backhand , M.ts2 p2_seed , P2B.id p2b_id , P2B.nom p2b_name , P2B.prenom p2b_first_name , P2B.name_zh p2b_name_zh , P2B.birthday p2b_birthday , P2B.sexe p2b_gender , P2B.nat p2b_nat , P2B.photo p2b_photo , P2B.taille p2b_height , P2B.poids p2b_weight , R2B.rank p2b_rank , R2B.liveRank p2b_rank_live , P2B.pro_depuis p2b_turn_pro , L.id tournament_id , 0 tournament_idt , LR.id rencontre_id , N.name_fr tournament_name_fr , N.name_en tournament_name_en , N.name_zh tournament_name_zh , N.name_de tournament_name_de , N.name_es tournament_name_es , SC.nom tournament_city , '' tournament_stadium , '3' tournament_surface , '' tournament_surface_photo , '0' tournament_surface_color , '' tournament_currency , '' tournament_prize_money , SCO.nom_fr tournament_country , '' tournament_logo , L.time_start tournament_start , '' tournament_end , '' tournament_nbPlayer , '' tournament_genre , '' tournament_category , '' tournament_type , LR.site tournament_site , L.year tournament_year , 0 tournament_importance , '' team1 , '' team2 , 3 importance , '' tournament_background , SC.fuseau_horaire , IF(ISNULL(LS.status) || M.status = 2 || M.status = 3 || M.status = 4, M.status, LS.status) match_status , LS.serve , S.time s_time_start , S.court , S.date_loc , S.type s_type , S.ordre s_order , CT.nom court_name , CT.ordre court_order FROM tournois_matchs M JOIN joueurs P1 on P1.id = M.j1 LEFT JOIN `joueurs` P1B on P1B.id = M.j1_bis JOIN joueurs P2 on P2.id = M.j2 LEFT JOIN `joueurs` P2B on P2B.id = M.j2_bis LEFT JOIN tennis_rankings R1 on R1.player = P1.id AND R1.id = IF(P1.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R1B on R1B.player = P1B.id AND R1B.id = IF(P1B.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2 on R2.player = P2.id AND R2.id = IF(P2.sexe = 1, 'wta', 'atp') LEFT JOIN tennis_rankings R2B on R2B.player = P2B.id AND R2B.id = IF(P2B.sexe = 1, 'wta', 'atp') LEFT JOIN `livescores_new`.`matchs` LS ON (LS.tt_match_id = M.id) LEFT JOIN tournois_programmes S on S.idm = M.id LEFT JOIN lieux_courts CT on (CT.ids = S.ids && CT.ordre = S.court) JOIN `leagues_rounds` LR on LR.id = M.league_round JOIN `leagues` L on L.id = LR.league JOIN tournois_name N on N.league = L.id LEFT JOIN lieux_sites SL on SL.id = LR.site LEFT JOIN lieux_villes SC on SC.id = SL.idv LEFT JOIN lieux_pays SCO on SCO.code = SC.pays WHERE M.id = '9426169' && M.type_tournoi_add = 2 && (S.statut = 0 || S.statut = 4 || S.statut = 2 || ISNULL(S.statut)) LIMIT 1
À lire aussi
WTA 125 อ็องเฌ: แฟร์โร ผ่านเข้าสู่รอบ 16 คนสุดท้าย, ปงเช่ พ่ายแพ้ตั้งแต่รอบแรก
WTA 125 อ็องเฌ: แฟร์โร ผ่านเข้าสู่รอบ 16 คนสุดท้าย, ปงเช่ พ่ายแพ้ตั้งแต่รอบแรก
Adrien Guyot 02/12/2025 à 15h12
มีนักเทนนิสชาวฝรั่งเศสสองคนลงแข่งขันในช่วงบ่ายต้นๆ ของการแข่งขัน WTA 125 ที่เมืองอ็องเฌ ฟิโอนา แฟร์โร ซึ่งปัจจุบันอยู่อันดับ 422 ของโลก เผชิญหน้ากับทีนา สมิธ นักเทนนิสชาวออสเตรเลียที่มีอันดับโลกอยู่ที...
WTA 125 อ็องเฌ: พาร์กส์ กลับมาป้องกันแชมป์, โดแดง, ราโกโตมังกา... เผยรายชื่อผู้เข้าแข่งขันทั้งหมดแล้ว!
WTA 125 อ็องเฌ: พาร์กส์ กลับมาป้องกันแชมป์, โดแดง, ราโกโตมังกา... เผยรายชื่อผู้เข้าแข่งขันทั้งหมดแล้ว!
Jules Hypolite 29/11/2025 à 22h07
แม้ว่ารายการหลักในซีซัน WTA จะจบลงตั้งแต่กลางเดือนพฤศจิกายน แต่ผู้เล่นบางคนยังคงแข่งขันต่อไปจนถึงเดือนธันวาคม ในรายการ WTA 125 ที่เมืองอ็องเฌ นิโคลาส มาฮุต ผู้อำนวยการจัดการแข่งขัน จะได้ต้อนรับผู้เล่...
รอบคัดเลือก US Open WTA: ปองเช่ตกรอบ, กราเชวาเป็นผู้รอดเพียงคนเดียว
รอบคัดเลือก US Open WTA: ปองเช่ตกรอบ, กราเชวาเป็นผู้รอดเพียงคนเดียว
Clément Gehl 22/08/2025 à 07h37
วันพฤหัสบดีนี้ มีนักเทนนิสหญิงชาวฝรั่งเศส 4 คนเข้าร่วมการแข่งขันในรอบที่สองของการคัดเลือก US Open วาร์วารา กราเชวา ผู้เป็นนักเทนนิสอันดับ 6 ของการแข่งขัน เอาชนะทารา เวิร์ธ ด้วยคะแนน 7-5, 6-2 นักเทนนิ...
รอบคัดเลือกยูเอสโอเพน: แอร์เบร์ตตกรอบ, ปงเชต์และโดรเกต์ผ่านเข้ารอบ
รอบคัดเลือกยูเอสโอเพน: แอร์เบร์ตตกรอบ, ปงเชต์และโดรเกต์ผ่านเข้ารอบ
Clément Gehl 20/08/2025 à 10h59
วันจันทร์ที่ผ่านมาเป็นวันสิ้นสุดการแข่งขันรอบแรกของรอบคัดเลือกยูเอสโอเพน ในฝ่ายชาย เคียเรียน จาเกต์ และ ตีตัวน์ โดรเกต์ ผ่านเข้ารอบ หลังจากเอาชนะ ลีอาม ดรักซ์ล และ อาลีเบค คัชมาซอฟ ตามลำดับ (ผู้ถอนตัว...
การแข่งขันรอบคัดเลือกหญิงของยูเอสโอเพน: กราเชวาเตรียมยืนยันฟอร์มหลังซินซินแนติ นักเทนนิสสาวฝรั่งเศสอีกสี่คนร่วมลงแข่งขัน
การแข่งขันรอบคัดเลือกหญิงของยูเอสโอเพน: กราเชวาเตรียมยืนยันฟอร์มหลังซินซินแนติ นักเทนนิสสาวฝรั่งเศสอีกสี่คนร่วมลงแข่งขัน
Jules Hypolite 17/08/2025 à 21h56
ตารางการแข่งขันรอบคัดเลือกหญิงของยูเอสโอเพนได้ถูกเปิดเผยในช่วงบ่ายที่นิวยอร์ก มีนักเทนนิสสาวชาวฝรั่งเศสห้าคนเข้าร่วมการแข่งขันรอบคัดเลือกนี้และหวังจะคว้าตั๋วเข้าแข่งขันในรอบหลัก วาร์วารา กราเชวา ที่...
พอเชต์ถูกวาเลนโตว่าถล่มในรอบก่อนรองชนะเลิศทัวร์นาเมนต์ WTA 250 ที่ปราก
พอเชต์ถูกวาเลนโตว่าถล่มในรอบก่อนรองชนะเลิศทัวร์นาเมนต์ WTA 250 ที่ปราก
Adrien Guyot 24/07/2025 à 11h42
เจสสิก้า พอเชต์ นักเทนนิสหญิงฝรั่งเศสคนสุดท้ายที่เหลืออยู่ในทัวร์นาเมนต์ WTA 250 ที่กรุงปราก ต้องลงแข่งเป็นคนแรกในวันพฤหัสบดีนี้ โดยเธอต้องเผชิญหน้ากับเทเรซา วาเลนโตว่า นักเทนนิสวัย 18 ปีอันดับ 106 ขอ...
ดับเบิลยูทีเอ 250 ปราก: ฌองฌอง และ ปงเช่ นักเทนนิสหญิงฝรั่งเศสเพียงสองคนในทัวร์นาเมนต์ ผ่านเข้าสู่รอบ 16 คนสุดท้าย
ดับเบิลยูทีเอ 250 ปราก: ฌองฌอง และ ปงเช่ นักเทนนิสหญิงฝรั่งเศสเพียงสองคนในทัวร์นาเมนต์ ผ่านเข้าสู่รอบ 16 คนสุดท้าย
Adrien Guyot 22/07/2025 à 17h07
สัปดาห์นี้ นักเทนนิสหญิงจากเวิลด์เทนนิสทัวร์บางส่วนกำลังแข่งขันอยู่ในสาธารณรัฐเช็ก โดยเฉพาะที่เมืองปราก มีนักเทนนิสหญิงชาวฝรั่งเศสสองคนที่เข้าร่วมการแข่งขัน และสามารถผ่านเข้ารอบได้อย่างสมบูรณ์แบบ เลโ...
นักเทนนิสหญิงชาวฝรั่งเศส 4 คนผ่านเข้ารอบ ขณะที่อีก 5 คนต้องตกรอบ: ผลการแข่งขันวันนี้ในรอบคัดเลือกของทัวร์นาเมนต์วิมเบิลดันหญิง
นักเทนนิสหญิงชาวฝรั่งเศส 4 คนผ่านเข้ารอบ ขณะที่อีก 5 คนต้องตกรอบ: ผลการแข่งขันวันนี้ในรอบคัดเลือกของทัวร์นาเมนต์วิมเบิลดันหญิง
Adrien Guyot 24/06/2025 à 20h18
หลังจากจบรอบแรกของฝ่ายชายตลอดทั้งวันในวันจันทร์ วันอังคารนี้ถึงเวลาของรอบแรกของการคัดเลือกรอบเดี่ยวหญิงที่วิมเบิลดัน โดยมีแมตช์ทั้งหมด 64 คู่แข่งขันบนสนามต่างๆ ของสนามเทนนิสในลอนดอน แม้ว่า ลัวส์ บัวซ...
532 missing translations
Please help us to translate TennisTemple