I was trying to create a trigger that after inserts in a table, inserts data on a different table. But shows syntax error, and I do not know where is the error:
CREATE TRIGGER insertDumpData ON users
FOR INSERT
AS
BEGIN
INSERT INTO attachments ("1", "sds", "hi");
END;
oh I see you are trying a SQL Server syntax on mySQL.
Try this: