如果可能的话,我想在加入这两个表后制作一个新表
SELECT * FROM tablepeople
JOIN tableinfo
ON tablepeople.id = tableinfo.ctrlid
Run Code Online (Sandbox Code Playgroud)
是的,您可以使用CREATE TABLE AS ... SELECT FROM如下构造;考虑到new_table不存在的事实
create table new_table as
SELECT * from tablepeople
join tableinfo
on tablepeople.id = tableinfo.ctrlid
Run Code Online (Sandbox Code Playgroud)