INSERT INTO user_auth(userid, auth_plane_id)
select user.user_id AS userid, plane.id AS auth_plane_id
FROM user, plane
WHERE user.name = '陈' and plane.name='737';
或者用join的方法.