I have this query:
UPDATE answers AS aa SET aa.question_id=(SELECT q.id FROM question AS q WHERE q.question LIKE (SELECT a.question_prev FROM answers AS a))
Error:
mysql cant specify target table
And can't figure out how to edit it to work
I have this query:
UPDATE answers AS aa SET aa.question_id=(SELECT q.id FROM question AS q WHERE q.question LIKE (SELECT a.question_prev FROM answers AS a))
Error:
mysql cant specify target table
And can't figure out how to edit it to work