似乎这样:
insert into mysql3235.t_awake_user(user_id,awake_id,awake_notice)
SELECT p.ID,501,u.awake_notice FROM mysql3235.person p,mysql3235.t_awake_user u
where p.id not in (select user_id from mysql3235.t_awake_user where awake_id=501)
and user_id=10196 and awake_id=501)