21.08 ms (21.95%)
30
SELECT t0 . id AS id_1 , t0 . occlusion AS occlusion_2 , t0 . mediane AS mediane_3 , t0 . classes_angle AS classes_angle_4 , t0 . vestibules AS vestibules_5 , t0 . hbd AS hbd_6 , t0 . brossage AS brossage_7 , t0 . soccu AS soccu_8 , t0 . cinematique_mandibulaire AS cinematique_mandibulaire_9 , t0 . ouverture_buccale AS ouverture_buccale_10 , t0 . temperature_buccale AS temperature_buccale_11 , t0 . amplitude_ouverture AS amplitude_ouverture_12 , t0 . bruits_articulaires AS bruits_articulaires_13 , t0 . tissus_mous_table AS tissus_mous_table_14 , t0 . tissus_durs_table AS tissus_durs_table_15 , t0 . examen_canaux_excreteurs AS examen_canaux_excreteurs_16 , t0 . fiche_medicale_id AS fiche_medicale_id_17 FROM fiche_examen t0 WHERE t0 . fiche_medicale_id = ?
SELECT t0 . id AS id_1 , t0 . occlusion AS occlusion_2 , t0 . mediane AS mediane_3 , t0 . classes_angle AS classes_angle_4 , t0 . vestibules AS vestibules_5 , t0 . hbd AS hbd_6 , t0 . brossage AS brossage_7 , t0 . soccu AS soccu_8 , t0 . cinematique_mandibulaire AS cinematique_mandibulaire_9 , t0 . ouverture_buccale AS ouverture_buccale_10 , t0 . temperature_buccale AS temperature_buccale_11 , t0 . amplitude_ouverture AS amplitude_ouverture_12 , t0 . bruits_articulaires AS bruits_articulaires_13 , t0 . tissus_mous_table AS tissus_mous_table_14 , t0 . tissus_durs_table AS tissus_durs_table_15 , t0 . examen_canaux_excreteurs AS examen_canaux_excreteurs_16 , t0 . fiche_medicale_id AS fiche_medicale_id_17 FROM fiche_examen t0 WHERE t0 . fiche_medicale_id = 417 ;
Copy
19.81 ms (20.63%)
1
SELECT d0_ . id AS id_0 , d0_ . date AS date_1 , d0_ . montant AS montant_2 , d0_ . reste AS reste_3 , d0_ . statut AS statut_4 , d0_ . type AS type_5 , f1_ . id AS id_6 , f1_ . motif AS motif_7 , f1_ . histoire_maladie AS histoire_maladie_8 , f1_ . soins_anterieurs AS soins_anterieurs_9 , f1_ . exo_inspection AS exo_inspection_10 , f1_ . exo_palpation AS exo_palpation_11 , f1_ . endo_inspection AS endo_inspection_12 , f1_ . endo_palpation AS endo_palpation_13 , f1_ . occlusion AS occlusion_14 , f1_ . examen_parodontal AS examen_parodontal_15 , f1_ . diagnostic AS diagnostic_16 , f1_ . traitement_urgence AS traitement_urgence_17 , f1_ . traitement_dentaire AS traitement_dentaire_18 , f1_ . traitement_parodontal AS traitement_parodontal_19 , f1_ . traitement_orthodontique AS traitement_orthodontique_20 , f1_ . autres AS autres_21 , f1_ . created_at AS created_at_22 , f1_ . tooths_check AS tooths_check_23 , p2_ . id AS id_24 , p2_ . nom AS nom_25 , p2_ . prenom AS prenom_26 , p2_ . date_naissance AS date_naissance_27 , p2_ . date_inscription AS date_inscription_28 , p2_ . sexe AS sexe_29 , p2_ . telephone AS telephone_30 , p2_ . email AS email_31 , p2_ . profession AS profession_32 , p2_ . lieu_naissance AS lieu_naissance_33 , p2_ . adresse AS adresse_34 , p2_ . num_carnet AS num_carnet_35 , p2_ . groupe_sanguin AS groupe_sanguin_36 , p2_ . referencement AS referencement_37 , f3_ . id AS id_38 , f3_ . created_at AS created_at_39 , p4_ . id AS id_40 , p4_ . nom AS nom_41 , p4_ . prenom AS prenom_42 , p4_ . date_naissance AS date_naissance_43 , p4_ . date_inscription AS date_inscription_44 , p4_ . sexe AS sexe_45 , p4_ . telephone AS telephone_46 , p4_ . email AS email_47 , p4_ . profession AS profession_48 , p4_ . lieu_naissance AS lieu_naissance_49 , p4_ . adresse AS adresse_50 , p4_ . num_carnet AS num_carnet_51 , p4_ . groupe_sanguin AS groupe_sanguin_52 , p4_ . referencement AS referencement_53 , d0_ . fiche_id AS fiche_id_54 , d0_ . fiche_medicale_id AS fiche_medicale_id_55 , f1_ . patient_id AS patient_id_56 , p2_ . derniere_consultation_id AS derniere_consultation_id_57 , f3_ . patient_id AS patient_id_58 , f3_ . medecin_id AS medecin_id_59 , p4_ . derniere_consultation_id AS derniere_consultation_id_60 FROM devis d0_ LEFT JOIN fiche_observation f1_ ON d0_ . fiche_id = f1_ . id LEFT JOIN patient p2_ ON f1_ . patient_id = p2_ . id LEFT JOIN fiche_medicale f3_ ON d0_ . fiche_medicale_id = f3_ . id LEFT JOIN patient p4_ ON f3_ . patient_id = p4_ . id INNER JOIN consultation c5_ ON (c5_ . facture_id = d0_ . id ) WHERE d0_ . type = ? AND (d0_ . date BETWEEN ? AND ? ) ORDER BY d0_ . date DESC
Parameters :
[
1
"2026-02-01 00:00:00 "
"2026-02-28 23:59:59 "
]
SELECT
d0_ . id AS id_0 ,
d0_ . date AS date_1 ,
d0_ . montant AS montant_2 ,
d0_ . reste AS reste_3 ,
d0_ . statut AS statut_4 ,
d0_ . type AS type_5 ,
f1_ . id AS id_6 ,
f1_ . motif AS motif_7 ,
f1_ . histoire_maladie AS histoire_maladie_8 ,
f1_ . soins_anterieurs AS soins_anterieurs_9 ,
f1_ . exo_inspection AS exo_inspection_10 ,
f1_ . exo_palpation AS exo_palpation_11 ,
f1_ . endo_inspection AS endo_inspection_12 ,
f1_ . endo_palpation AS endo_palpation_13 ,
f1_ . occlusion AS occlusion_14 ,
f1_ . examen_parodontal AS examen_parodontal_15 ,
f1_ . diagnostic AS diagnostic_16 ,
f1_ . traitement_urgence AS traitement_urgence_17 ,
f1_ . traitement_dentaire AS traitement_dentaire_18 ,
f1_ . traitement_parodontal AS traitement_parodontal_19 ,
f1_ . traitement_orthodontique AS traitement_orthodontique_20 ,
f1_ . autres AS autres_21 ,
f1_ . created_at AS created_at_22 ,
f1_ . tooths_check AS tooths_check_23 ,
p2_ . id AS id_24 ,
p2_ . nom AS nom_25 ,
p2_ . prenom AS prenom_26 ,
p2_ . date_naissance AS date_naissance_27 ,
p2_ . date_inscription AS date_inscription_28 ,
p2_ . sexe AS sexe_29 ,
p2_ . telephone AS telephone_30 ,
p2_ . email AS email_31 ,
p2_ . profession AS profession_32 ,
p2_ . lieu_naissance AS lieu_naissance_33 ,
p2_ . adresse AS adresse_34 ,
p2_ . num_carnet AS num_carnet_35 ,
p2_ . groupe_sanguin AS groupe_sanguin_36 ,
p2_ . referencement AS referencement_37 ,
f3_ . id AS id_38 ,
f3_ . created_at AS created_at_39 ,
p4_ . id AS id_40 ,
p4_ . nom AS nom_41 ,
p4_ . prenom AS prenom_42 ,
p4_ . date_naissance AS date_naissance_43 ,
p4_ . date_inscription AS date_inscription_44 ,
p4_ . sexe AS sexe_45 ,
p4_ . telephone AS telephone_46 ,
p4_ . email AS email_47 ,
p4_ . profession AS profession_48 ,
p4_ . lieu_naissance AS lieu_naissance_49 ,
p4_ . adresse AS adresse_50 ,
p4_ . num_carnet AS num_carnet_51 ,
p4_ . groupe_sanguin AS groupe_sanguin_52 ,
p4_ . referencement AS referencement_53 ,
d0_ . fiche_id AS fiche_id_54 ,
d0_ . fiche_medicale_id AS fiche_medicale_id_55 ,
f1_ . patient_id AS patient_id_56 ,
p2_ . derniere_consultation_id AS derniere_consultation_id_57 ,
f3_ . patient_id AS patient_id_58 ,
f3_ . medecin_id AS medecin_id_59 ,
p4_ . derniere_consultation_id AS derniere_consultation_id_60
FROM
devis d0_
LEFT JOIN fiche_observation f1_ ON d0_ . fiche_id = f1_ . id
LEFT JOIN patient p2_ ON f1_ . patient_id = p2_ . id
LEFT JOIN fiche_medicale f3_ ON d0_ . fiche_medicale_id = f3_ . id
LEFT JOIN patient p4_ ON f3_ . patient_id = p4_ . id
INNER JOIN consultation c5_ ON (c5_ . facture_id = d0_ . id )
WHERE
d0_ . type = ?
AND (
d0_ . date BETWEEN ?
AND ?
)
ORDER BY
d0_ . date DESC
Copy
SELECT d0_ . id AS id_0 , d0_ . date AS date_1 , d0_ . montant AS montant_2 , d0_ . reste AS reste_3 , d0_ . statut AS statut_4 , d0_ . type AS type_5 , f1_ . id AS id_6 , f1_ . motif AS motif_7 , f1_ . histoire_maladie AS histoire_maladie_8 , f1_ . soins_anterieurs AS soins_anterieurs_9 , f1_ . exo_inspection AS exo_inspection_10 , f1_ . exo_palpation AS exo_palpation_11 , f1_ . endo_inspection AS endo_inspection_12 , f1_ . endo_palpation AS endo_palpation_13 , f1_ . occlusion AS occlusion_14 , f1_ . examen_parodontal AS examen_parodontal_15 , f1_ . diagnostic AS diagnostic_16 , f1_ . traitement_urgence AS traitement_urgence_17 , f1_ . traitement_dentaire AS traitement_dentaire_18 , f1_ . traitement_parodontal AS traitement_parodontal_19 , f1_ . traitement_orthodontique AS traitement_orthodontique_20 , f1_ . autres AS autres_21 , f1_ . created_at AS created_at_22 , f1_ . tooths_check AS tooths_check_23 , p2_ . id AS id_24 , p2_ . nom AS nom_25 , p2_ . prenom AS prenom_26 , p2_ . date_naissance AS date_naissance_27 , p2_ . date_inscription AS date_inscription_28 , p2_ . sexe AS sexe_29 , p2_ . telephone AS telephone_30 , p2_ . email AS email_31 , p2_ . profession AS profession_32 , p2_ . lieu_naissance AS lieu_naissance_33 , p2_ . adresse AS adresse_34 , p2_ . num_carnet AS num_carnet_35 , p2_ . groupe_sanguin AS groupe_sanguin_36 , p2_ . referencement AS referencement_37 , f3_ . id AS id_38 , f3_ . created_at AS created_at_39 , p4_ . id AS id_40 , p4_ . nom AS nom_41 , p4_ . prenom AS prenom_42 , p4_ . date_naissance AS date_naissance_43 , p4_ . date_inscription AS date_inscription_44 , p4_ . sexe AS sexe_45 , p4_ . telephone AS telephone_46 , p4_ . email AS email_47 , p4_ . profession AS profession_48 , p4_ . lieu_naissance AS lieu_naissance_49 , p4_ . adresse AS adresse_50 , p4_ . num_carnet AS num_carnet_51 , p4_ . groupe_sanguin AS groupe_sanguin_52 , p4_ . referencement AS referencement_53 , d0_ . fiche_id AS fiche_id_54 , d0_ . fiche_medicale_id AS fiche_medicale_id_55 , f1_ . patient_id AS patient_id_56 , p2_ . derniere_consultation_id AS derniere_consultation_id_57 , f3_ . patient_id AS patient_id_58 , f3_ . medecin_id AS medecin_id_59 , p4_ . derniere_consultation_id AS derniere_consultation_id_60 FROM devis d0_ LEFT JOIN fiche_observation f1_ ON d0_ . fiche_id = f1_ . id LEFT JOIN patient p2_ ON f1_ . patient_id = p2_ . id LEFT JOIN fiche_medicale f3_ ON d0_ . fiche_medicale_id = f3_ . id LEFT JOIN patient p4_ ON f3_ . patient_id = p4_ . id INNER JOIN consultation c5_ ON (c5_ . facture_id = d0_ . id ) WHERE d0_ . type = 1 AND (d0_ . date BETWEEN '2026-02-01 00:00:00' AND '2026-02-28 23:59:59' ) ORDER BY d0_ . date DESC ;
Copy
15.18 ms (15.81%)
31
SELECT t0 . id AS id_1 , t0 . note_seance AS note_seance_2 , t0 . type AS type_3 , t0 . statut AS statut_4 , t0 . created_at AS created_at_5 , t0 . patient_id AS patient_id_6 , t0 . fiche_id AS fiche_id_7 , t0 . fiche_medicale_id AS fiche_medicale_id_8 , t0 . medecin_id AS medecin_id_9 , t0 . infirmier_id AS infirmier_id_10 , t0 . salle_id AS salle_id_11 , t12 . id AS id_13 , t12 . date AS date_14 , t12 . montant AS montant_15 , t12 . devis_id AS devis_id_16 , t12 . mode_id AS mode_id_17 , t12 . consultation_id AS consultation_id_18 , t0 . facture_id AS facture_id_19 FROM consultation t0 LEFT JOIN paiement_devis t12 ON t12 . consultation_id = t0 . id WHERE t0 . facture_id = ?
SELECT t0 . id AS id_1 , t0 . note_seance AS note_seance_2 , t0 . type AS type_3 , t0 . statut AS statut_4 , t0 . created_at AS created_at_5 , t0 . patient_id AS patient_id_6 , t0 . fiche_id AS fiche_id_7 , t0 . fiche_medicale_id AS fiche_medicale_id_8 , t0 . medecin_id AS medecin_id_9 , t0 . infirmier_id AS infirmier_id_10 , t0 . salle_id AS salle_id_11 , t12 . id AS id_13 , t12 . date AS date_14 , t12 . montant AS montant_15 , t12 . devis_id AS devis_id_16 , t12 . mode_id AS mode_id_17 , t12 . consultation_id AS consultation_id_18 , t0 . facture_id AS facture_id_19 FROM consultation t0 LEFT JOIN paiement_devis t12 ON t12 . consultation_id = t0 . id WHERE t0 . facture_id = 1162 ;
Copy