0
I want to fill a table with the data being placed in another.
CREATE TRIGGER `trg_jogo`AFTER INSERT
ON `tabela1`
AS
INSERT INTO `tabela2` SELECT * FROM `tabela1`;
I cannot do the process to copy the data from tabela1
to the tabela2
, so whenever a user registers, their data appeared in two tables.
What is the database manager: Mysql? Oracle Database? Postgresql? MSSQL?
– José Diz
I am using Mysql as BD
– Daniel Pereira