By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
7 rows affected
ProductPriceId | ProductId | Price | StartDate | EndDate |
---|---|---|---|---|
3 | 1 | 21.0000 | 2018-12-10 00:00:00.0000000 | null |
1 | 1 | 23.0000 | 2018-12-13 00:00:00.0000000 | 2018-12-27 00:00:00.0000000 |
2 | 1 | 26.0000 | 2018-12-18 00:00:00.0000000 | 2018-12-20 00:00:00.0000000 |
4 | 1 | 22.0000 | 2018-12-28 00:00:00.0000000 | 2018-12-30 00:00:00.0000000 |
5 | 1 | 27.0000 | 2019-01-01 00:00:00.0000000 | 2019-01-18 00:00:00.0000000 |
ProductPriceId | ProductId | Price | StartDate | EndDate |
---|---|---|---|---|
2 | 1 | 26.0000 | 2018-12-18 00:00:00.0000000 | 2018-12-20 00:00:00.0000000 |
1 | 1 | 23.0000 | 2018-12-13 00:00:00.0000000 | 2018-12-27 00:00:00.0000000 |
4 | 1 | 22.0000 | 2018-12-28 00:00:00.0000000 | 2018-12-30 00:00:00.0000000 |
5 | 1 | 27.0000 | 2019-01-01 00:00:00.0000000 | 2019-01-18 00:00:00.0000000 |
3 | 1 | 21.0000 | 2018-12-10 00:00:00.0000000 | null |
ProductPriceId | ProductId | Price | StartDate | EndDate |
---|---|---|---|---|
2 | 1 | 26.0000 | 2018-12-18 00:00:00.0000000 | 2018-12-20 00:00:00.0000000 |
1 | 1 | 23.0000 | 2018-12-13 00:00:00.0000000 | 2018-12-27 00:00:00.0000000 |
4 | 1 | 22.0000 | 2018-12-28 00:00:00.0000000 | 2018-12-30 00:00:00.0000000 |
5 | 1 | 27.0000 | 2019-01-01 00:00:00.0000000 | 2019-01-18 00:00:00.0000000 |
3 | 1 | 21.0000 | 2018-12-10 00:00:00.0000000 | null |
ProductId | Name | Price | StartDate | EndDate |
---|---|---|---|---|
1 | Burger | 26.0000 | 2018-12-18 00:00:00.0000000 | 2018-12-20 00:00:00.0000000 |
2 | Coke 2L | null | null | null |