By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
ID | (No column name) | SalesDate | MaxNikeSales | MaxAdidasSales | SalesDifference (Nike - Adidas) |
---|---|---|---|---|---|
1 | John | 2022-01-01 | 94343 | 23453 | 70890 |
2 | John | 2022-01-02 | 23456 | 0 | 23456 |
3 | John | 2022-01-03 | 54678 | 0 | 54678 |
4 | John | 2022-01-04 | 12310 | 43345 | -31035 |
5 | John | 2022-01-05 | 0 | 94575 | -94575 |