誰かが私を素早く助けてくれますか、私はこの投稿から1時間これと一緒に座っています。
注:(null)は文字列であり、実際にはNULL値ではありません...基本的に、値として「Hello」を使用するのと同じである必要があります
INSERT INTO tasks (category,completion_dtm,desc,duedate,notification_duedate,notification_one,notification_two,priority,reminder_one,reminder_two,title,timestamp) VALUES('None','3999-01-01 00:00:00','(null)',('1000-01-01 00:00:00'),'(null)','(null)','(null)',2,('1000-01-01 00:00:00'),('1000-01-01 00:00:00'),'Task 3',('1000-01-01 00:00:00')) ON DUPLICATE KEY UPDATE id=VALUES(id)
私の構文に何か問題がありますか?洞察をありがとう!
編集:申し訳ありませんが、エラーは十分に明白だと思いました:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc,duedate,notification_duedate,notification_one,notification_two,priority,rem' at line 1