什么错在下面的查询? 我想一些字段复制从一个表到另一个。
INSERT INTO `dle_post_plus`
(
`news_id`, `news_read`, `allow_rate`, `rating`,
`vote_num`, `votes`, `view_edit`, `access`,
`editdate`, `editor`, `reason`, `user_id`
)
SELECT `id`, `news_read`, `allow_rate`, `rating`,
`vote_num`, `votes`, `view_edit`, `access`,
`editdate`, `editor`, `reason`, `user_id`
FROM `dle_post`
LEFT JOIN dle_users
ON (dle_post.autor=dle_users.name)
错误:
#1366 - Incorrect integer value: '' for column 'editdate' at row 1