By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
10 rows affected
ID | name | date | happiness |
---|---|---|---|
1 | John | 2020-01-03 00:00:00.000 | 20 |
2 | John | 2020-01-04 00:00:00.000 | 20 |
3 | John | 2020-01-05 00:00:00.000 | 20 |
4 | John | 2020-01-06 00:00:00.000 | 20 |
5 | John | 2020-01-07 00:00:00.000 | 18 |
1 | Mary | 2020-01-01 00:00:00.000 | 35 |
2 | Mary | 2020-01-02 00:00:00.000 | 35 |
3 | Mary | 2020-01-03 00:00:00.000 | -15 |
4 | Mary | 2020-01-04 00:00:00.000 | -15 |
5 | Mary | 2020-01-05 00:00:00.000 | 0 |