id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE spectacles ALL PRIMARY 25450 Using where; Using temporary; Using filesort
1 SIMPLE schedules ref idspectacle_2, date, idcontact idspectacle_2 5 theatreok_dev.spectacles.idspectacle 1 Using where; Using index