日期:2014-05-16  浏览次数:20483 次

关联关系 一个表的ID赋值到另一表的关联ID

update tbl_course c, tbl_video v ?set ?c.video_id = v.id ?where c.`name` = v.title;