By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| Course ID | Course Title | Enrolled |
|---|---|---|
| 1000 | Software Engineering | 5 |
| 1001 | Internet Systems | 7 |
| id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | c | null | ALL | PRIMARY | null | null | null | 2 | 100.00 | Using temporary |
| 1 | SIMPLE | s | null | ALL | null | null | null | null | 12 | 10.00 | Using where; Using join buffer (hash join) |
| id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | course | null | ALL | PRIMARY | null | null | null | 2 | 100.00 | Using temporary |
| 1 | SIMPLE | student | null | ALL | null | null | null | null | 12 | 10.00 | Using where; Using join buffer (hash join) |
| Course ID | Course Title | Enrolled |
|---|---|---|
| 1001 | Internet Systems | 12 |
| 1000 | Software Engineering | 12 |