mysql插入关联其他表的部分数据

insert into role_resource (ROLE_ID,resource_id) select 10, id from t_resource

posted @ 2021-01-15 11:42  fooooo  阅读(356)  评论(0)    收藏  举报