By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| version |
|---|
| PostgreSQL 14.4 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-10), 64-bit |
3 rows affected
2 rows affected
| id | customer | product | quantity |
|---|---|---|---|
| 001 | Cust001 | Soap | 200 |
| 002 | Cust002 | Shampoo | 70 |
| 003 | Cust003 | Ketchup | 50 |
| id | customer | product | quantity |
|---|---|---|---|
| 001 | Cust001 | Soap | 200 |
| 002 | Cust002 | Shampoo | 23 |
| 003 | Cust003 | Ketchup | 30 |