I had created two table in my database, In both table I am inserting value at the same time, now what I want to do is that, I want to insert record in second table, but the
While creating your table, put constraint on your column(Primary key or Unique key).This will not only the duplicate value to be inserted into your database.