Preciso copiar os dados do banco A da tabela A (14colunas) para Banco B tabela A (15colunas) Preciso verificar o accountid se não existir no banco B tabela A deve cópiar os dados, se existir não deve cópiar.
Tentei o comando abaixo excluindo a coluna que tem diferente nos dois bancos e iria inserir posteriormente via Sql, porém deu o erro acima. Alguém pode ajudar???
INSERT INTO vtiger_account (accountid, account_no, accountname, parentid, account_type, industry, annualrevenue, rating, ownership, siccode, tickersymbol, phone, otherphone, email1, email2, website, fax, employees, emailoptout, notify_owner, isconvertedfromlead)
SELECT (accountid, account_no, accountname, parentid, account_type, industry, annualrevenue, rating, ownership, siccode, tickersymbol, phone, otherphone, email1, email2, website, fax, employees, emailoptout, notify_owner, isconvertedfromlead) FROM aramat01_vt71.vtiger_account WHERE accountid > 1164