Mysql – UPDATE multiple rows and plus two row in one query
How can I update multiple rows in one query? UPDATE table SET col_1=col_1+5, col_2=col_2+7 WHERE id=12; UPDATE table SET col_1=col_1+2, col_2=col_2+6 WHERE id=16 ... UPDATE table SET col_1=col_1+..., col_2=col_2+... WHERE id=... How to union following queries