3 lines
133 B
SQL
3 lines
133 B
SQL
-- Populate order_position with the value of the id column
|
|
UPDATE `products` SET `order_position` = `id` WHERE `order_position` = 0;
|