sqlserverjoin
發布時間: 2023-09-19 07:53:45
㈠ 關於sql server的insert和inner join語句
insert into 表1 select b.Section from 表2 a left join 表1 b on a.Section=b.Section where a.ID=?;
這是sqlserver的直接插入語句,根據表2的id向表1插入表1對應的Section
熱點內容
㈠ 關於sql server的insert和inner join語句
insert into 表1 select b.Section from 表2 a left join 表1 b on a.Section=b.Section where a.ID=?;
這是sqlserver的直接插入語句,根據表2的id向表1插入表1對應的Section