simple SQL statement or so I thought but I am am being blocked by an error.
Any comment?
Error message
Quote:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE sso IS NOT NULL' at line 3
SQL statement
Quote:
INSERT INTO tbl_staff( interface, interface_iso )
VALUES ( 1111111111111111, 11111 )
WHERE sso IS NOT NULL
Select statement that works
Quote:
SELECT `sso` , `interface` , `interface_iso`
FROM `tbl_staff`
WHERE sso IS NOT NULL