By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | PRIMARY | och1 | null | index | oss_collection_history_Charges_IDX2 | oss_collection_history_Charges_IDX2 | 14 | null | 4 | 100.00 | Using where; Using index |
1 | PRIMARY | <derived2> | null | ref | <auto_key0> | <auto_key0> | 9 | db_946870679.och1.DateFrom,db_946870679.och1.org | 2 | 100.00 | Using index |
2 | DERIVED | och2 | null | index | oss_collection_history_Charges_IDX2 | oss_collection_history_Charges_IDX2 | 14 | null | 4 | 100.00 | Using index |
org | Balance | DateFrom |
---|---|---|
1 | 1 | 2019-01-01 |
2 | 1 | 2019-01-03 |