insert 的内容是select 出来的 + 自己设定的,怎么写?
insert 的内容是select 出来的 + 自己设定的,怎么写?
insert into a(x,y,z) select x,y from b
这里z是我来设定的,怎么写?
[解决办法]
insert into a(x,y,z)
select x,y,'123' as z from b
发布时间: 2013-01-11 11:57:35 作者: rapoo
insert 的内容是select 出来的 + 自己设定的,怎么写?
insert 的内容是select 出来的 + 自己设定的,怎么写?
insert into a(x,y,z) select x,y from b
这里z是我来设定的,怎么写?
[解决办法]
insert into a(x,y,z)
select x,y,'123' as z from b