Home > database >  Import the data to the mysql database in Python times wrong
Import the data to the mysql database in Python times wrong

Time:12-21

While importing XLSX table data into the database, an error: pymysql. Err. IntegrityError: (1062, "Duplicate entry '18110506036' for key 'PRIMARY'")

SQL: SQL="INSERT INTO student_k1 (id, name, Chinese, math, English) VALUES (% s, % s, % s, % s, % s) '
  • Related