Bonjour a tous,
Voila j'ai cette requête qui refuse de prendre en compte mes index crées :
j'ai un index sur la colonne histo_mer_id dans chacune des table et j'ai quand même un table access full lors de la jointure a.histo_mer_id = b.histo_mer_id .
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 SELECT DISTINCT a.num_rion, b.piv_decl_id, a.activite FROM selvpt_mer_histo a, selolt_p_venti_mer_abo b WHERE a.histo_mer_id = b.histo_mer_id UNION SELECT DISTINCT a.num_rion, b.piv_decl_id, a.activite FROM selvpt_mer_histo a , selolt_p_ventilation_mer b WHERE a.histo_mer_id = b.histo_mer_id
Quelqu'un aurait une idée?
Partager