I have this query:
UPDATE Table1 SET Table1.parameterA = 1
WHERE Table1.parameterB = ?
AND Table1.parameterC = (
SELECT Table2.id
FROM Table2
WHERE Table2.parameterD = ? AND Table2.date > ?
)
This is not working because the select is returning multiple rows:
{ Error: ER_SUBQUERY_NO_1_ROW: Subquery returns more than 1 row }
Is it possible a workaround to do this multiple update?
AND Table1.parameterC = (toAND Table1.parameterC IN (