How can I update multiple rows of a table by selecting multiple ids from another table, then returning updated IDs

前端 未结 0 1926
旧巷少年郎
旧巷少年郎 2021-02-01 19:03

I\'m quite bad with SQL, I\'m using MYSQL and node and I run every 5 mins this queries:

UPDATE bolletta set status = (CASE WHEN (SELECT SUM(ticke         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题