mysql update even / odd rows
update mytable set picture = replace(picture, '.png', '-Small.png') where id % 2 = 0;
Source: stackoverflow.com
update mytable set picture = replace(picture, '.png', '-Small.png') where id % 2 = 0;