By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| id | name | marks | ordering_expression |
|---|---|---|---|
| 1 | Ashley | 81 | 1 |
| 2 | Samantha | 75 | 1 |
| 3 | Belvet | 84 | 1 |
| 4 | Julia | 76 | 1 |
| id | name | marks | ordering_expression |
|---|---|---|---|
| 4 | Julia | 76 | 0 |
| 1 | Ashley | 81 | 1 |
| 2 | Samantha | 75 | 1 |
| 3 | Belvet | 84 | 1 |