Answers for "mysql update even / odd rows"

SQL
0

mysql update even / odd rows

update mytable set picture = replace(picture, '.png', '-Small.png') where id % 2 = 0;
Posted by: Guest on August-24-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language