id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY sa ALL idspectacle 25218 Using temporary; Using filesort
1 PRIMARY s eq_ref PRIMARY PRIMARY 4 theatreok_dev.sa.idspectacle 1 Using index
1 PRIMARY sp ref PRIMARY, idspectacle idspectacle 4 theatreok_dev.sa.idspectacle 4 Using where; Using index
1 PRIMARY sc ref idspectacle_2 idspectacle_2 5 theatreok_dev.sa.idspectacle 9 Using index
3 MATERIALIZED person_ecole index PRIMARY idcontact 4 7112 Using index
2 MATERIALIZED person_ecole index PRIMARY idcontact 4 7112 Using index