By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Records: 7 Duplicates: 0 Warnings: 0
Records: 100000 Duplicates: 0 Warnings: 0
Records: 0 Duplicates: 0 Warnings: 0
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | scores | null | range | opt_nam_id | opt_nam_id | 146 | null | 5 | 100.00 | Using index condition; Using filesort |
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | PRIMARY | <derived2> | null | ALL | null | null | null | null | 5 | 20.00 | Using where |
1 | UPDATE | scores | null | ALL | null | null | null | null | 100007 | 10.00 | Using where |
2 | DERIVED | scores | null | range | opt_nam_id | opt_nam_id | 146 | null | 5 | 100.00 | Using where; Using filesort |
id | name | datetime_added | option |
---|---|---|---|
5 | Rubio | 2023-01-01 07:05:55 | none |