110,499
社区成员
发帖
与我相关
我的任务
分享
create table tb(col1 char(1),col2 char(1),col3 char(1))
insert into tb select 'a','b','c'
insert into tb select '0','0','0'
go
select a.col1+b.col2+c.col3 from tb a,tb b,tb c
/*
----
abc
a0c
ab0
a00
0bc
00c
0b0
000
(8 行受影响)
*/
go
drop table tb