By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
memberid | amountpaid | paiddate | memberid | name |
---|---|---|---|---|
1 | 100.00 | 2017-06-24 | 1 | member 1 |
2 | 100.00 | 2017-05-24 | 2 | member 2 |
memberid | name |
---|---|
2 | member 2 |
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | members | ALL | null | null | null | null | 2 | |
1 | SIMPLE | fees | ref | idx_member_date | idx_member_date | 5 | fiddle_ZCXLEXEURTHEWEPFKPOV.members.memberid | 1 | Using where; Using index |