By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Variable 'character_set_client' can't be set to the value of 'NULL'
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | my_table | null | ref | index2,index1 | index2 | 82 | const,const | 1 | 100.00 | Using index condition |
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | my_table | null | ref | index2,index1 | index2 | 41 | const | 1 | 100.00 | Using index condition; Using filesort |
Records: 0 Duplicates: 0 Warnings: 0
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | my_table | null | ref | index2 | index2 | 82 | const,const | 1 | 100.00 | Using index condition |
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | my_table | null | ref | index2 | index2 | 41 | const | 1 | 100.00 | Using index condition; Using filesort |