Posts by Manuel Martins • 11 points
1 post
-
1
votes2
answers1648
viewsQ: Mysql UPDATE multiple fields under the same condition (IF or CASE)
Friends, I need help. I have these two darlings: UPDATE leilaov SET seconds = CASE WHEN (mesini = MONTH(NOW()) AND diaini = DAYOFMONTH(NOW()) AND horaini = HOUR(NOW()) AND minutoini <=…