I have a table with id as a primary key. when we insert duplicate data using query it is showing an error that the primary key is violated. But when we directly enter the duplicate value into the table by editing the table it is accepting the duplicate values. Kindly give a me a solution regarding this.