I need to create a after insert trigger in mysql.
I have 3 tables like this.
Table1
ProjectID(TestP), Site(st1,st2,st3)
Table2
ProjectName,ProjectID,ProjectDetails
Table3
ProjectName,ProjectDetails,Site
Now I have to write a trigger which will insert 3 row in Table3, when I am inserting 1 row in Table2 (TestProject,TestP,Details1)
The value should be like this in Table3
Row1 : TestProject,Details1,st1 Row2 : TestProject,Details1,st2 Row3 : TestProject,Details1,st3
Please somebody help me.