Posts by GKMoreira • 147 points
1 post
-
4
votes3
answers113
viewsA: Is it possible to update to 1 table using another condition?
You need to do it like this: UPDATE ivr_contatos SET tentativas = camp.quantidadetentativas FROM ivr_campanha as camp WHERE ivr_contatos.campanha = camp.id AND ivr_contatos.status = 0 AND…