HI,
I'm using the following query:
SELECT * FROM Passwords
INNER JOIN Staff ON passwords.managerno = staff.managerno
UPDATE passwords SET passwords.managerno = staff.managerno
WHERE passwords.managerno<>staff.managerno
But i'm getting the error message:
The column prefix 'staff' does not match with a table name or alias name used in the query.
Any ideas? Doesn't make sense to me as I do have a table named Staff.
I'm using the following query:
SELECT * FROM Passwords
INNER JOIN Staff ON passwords.managerno = staff.managerno
UPDATE passwords SET passwords.managerno = staff.managerno
WHERE passwords.managerno<>staff.managerno
But i'm getting the error message:
The column prefix 'staff' does not match with a table name or alias name used in the query.
Any ideas? Doesn't make sense to me as I do have a table named Staff.