以下查询有什么问题?我想将一些字段从一个表复制到另一个。
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