declare @t table(b varchar(20))
insert into @t select 'abc'
union all select 'def'
--1
select a.b+b.b from @t a,@t b where a.b<b.b
--2
select [id]=identity(int,1,1),* into # from @t
select a.b+b.b from # a,# b where a.id<b.id
drop table #--这样?