-- Populate order_position with the value of the id column
UPDATE `products` SET `order_position` = `id` WHERE `order_position` = 0;
