Database

SQL: Table cannot be used twice

UPDATE clients
SET horas = (SELECT horas FROM clients WHERE id = ‘%s’) + ‘%s’
WHERE id = ‘%s’

It’s working on my PC using Xampp but my workspace has a different MySQL version, and it’s printing out that error, how can I fix it? I’ve…