By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| @@version |
|---|
| 8.0.22 |
| id | note | customer1 | customer2 | customer3 |
|---|---|---|---|---|
| 1 | test | Mic | Mic | Mic |
| 2 | test | null | Tom | Tom |
| name | avg_rating |
|---|---|
| up | 3.6667 |
| name | avg_rating |
|---|---|
| up | 5.0000 |
| subject | name | name | subject |
|---|---|---|---|
| Geography | Tina | null | null |
| Geography | Rafael | null | null |
| History | Tina | null | null |
| History | Rafael | null | null |
| Math | Sam | null | null |
| Math | Rafael | null | null |
| f_id | t_id |
|---|---|
| 175 | 176 |
| 175 | 177 |