执行以下SQL语句时出现错误:
INSERT INTO sessions (sid, uid, hostname, session, timestamp)
VALUES('thisisatest', 73, '100.100.100.100', '', 1234567890);
错误:
Field 'desc' doesn't have a default value
INSERT INTO sessions (desc, sid, uid, hostname, session, timestamp)
VALUES('', 'thisisatest', 73, '100.100.100.100', '', 1234567890);
错误:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'desc, sid, uid, hostname, session, timestamp) VALUES('', '5tvdbif164aa4ve', 73, ' at line 1`
当我试图在表中插入一行时,即使我一遍又一遍地检查语法,它总是会失败...