向資料庫匯入xlsx表的資料時,報錯: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)'
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/237819.html
標籤:基礎類
