G
Guest
Using Office 2003 and Windows XP;
Can someone please help me clear the syntax error I'm getting from this SQL?:
INSERT INTO
Table1 AS A
SELECT B.SAL_ADMIN_PLAN, B.PAY_GRADE,
B.ANNUAL_MIN, B.ANNUAL_MID, B.ANNUAL_MAX
FROM Table2 AS B
WHERE
(A.SAL_ADMIN_PLAN <> B.SAL_ADMIN_PLAN AND
A.PAY_GRADE <> B.PAY_GRADE);
Note that in the WHERE clause both specs must be true;
As you may be able to tell, I am not that good with SQL; please help.
Thanks much in advance.
Can someone please help me clear the syntax error I'm getting from this SQL?:
INSERT INTO
Table1 AS A
SELECT B.SAL_ADMIN_PLAN, B.PAY_GRADE,
B.ANNUAL_MIN, B.ANNUAL_MID, B.ANNUAL_MAX
FROM Table2 AS B
WHERE
(A.SAL_ADMIN_PLAN <> B.SAL_ADMIN_PLAN AND
A.PAY_GRADE <> B.PAY_GRADE);
Note that in the WHERE clause both specs must be true;
As you may be able to tell, I am not that good with SQL; please help.
Thanks much in advance.