add remove split language show hidden hide
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
16 rows affected
id name id customerid date amount details
1 Fred 3 1 2022-01-03 25.00 Other Stuff
2 Wilma 6 2 2022-01-06 35.00 Other Things
3 Betty 9 3 2022-01-09 43.00 Other Items
4 Barney 12 4 2022-01-12 16.00 Other Whatever
id customerid date amount details customer last_order id name
12 4 2022-01-12 16.00 Other Whatever 4 2022-01-12 4 Barney
9 3 2022-01-09 43.00 Other Items 3 2022-01-09 3 Betty
6 2 2022-01-06 35.00 Other Things 2 2022-01-06 2 Wilma
3 1 2022-01-03 25.00 Other Stuff 1 2022-01-03 1 Fred