add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
sale_id type
110 Credit
111 Cash
112 Credit
sales_id item_id price payment_type total_amount
110 1 20
111 2 30
112 3 45
You can't specify target table 'table2' for update in FROM clause
sales_id item_id price payment_type total_amount
110 1 20
111 2 30
112 3 45