Now I have another SQL query for MySQL I can't figure out!! This is overwhelming me completely and I also must have this figured out today and I can't figure it out!!
UPDATE student_db.student
SET has_letter1 = (
SELECT i.letter1 FROM olddb.student i, student_db student s WHERE s.unique_key = i.unique_key
)
This query produces the following error:
You can't specify target table 'student' for update in FROM clause
I can't figure this one out and am required to do so rather urgently (as in before COB today)
Thanx
Phil