Update or create a product
Set the price of the product with id=1 in the products table to 15.00. If it does not exist yet, add it: id=1, name Mug, category kitchen, price 15.00, stock 40. The operation must work in both cases — whether the product exists or not.
Iba INSERT/UPDATE/DELETE — žiadny záverečný SELECT nie je potrebný.
Prihláste sa, aby ste videli históriu odoslaní
Prihlásiť saPrihláste sa, aby ste mohli používať AI mentora
Prihlásiť sa