且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从 2 个不同的表创建一个表

更新时间:2023-11-23 21:37:16

您可以使用 select 创建

You can create with select

create table3 (p_id int(1), u_id int(11), review varchar(64)); 
insert table3 select Products.p_id, Users.u_id, 'value_for_review'
from Products, Users