update users_match
join users_update on users_update.usr1 = users_match.usr1
set users_match.usr2 = users_update.usr2;
let t = 100; // начальное значение
const timer = setInterval(
()=>{
t--;
console.log(t); // здесь делаем свое тёмное дело
},
1000
);
// для остановки используем clearInterval(timer)
`cost`='0'
When an operator is used with operands of different types, type conversion occurs to make the operands compatible. Some conversions occur implicitly. For example, MySQL automatically converts strings to numbers as necessary, and vice versa.