摘要:
declare @t table (Id int, Value char(5))insert into @tselect '1','09:01' unionselect '1','12:05' unionselect '2','08:04' unionselect '2','17:09' unionselect '3','99888'select * from @tselect id,stuff((select ','+ 阅读全文
posted @ 2012-02-15 21:51
I是初学者
阅读(930)
评论(0)
推荐(0)
摘要:
我有两个表表Aid-----valueM1 1M2 1,2M3 1,3M4 1,4表Bid-----value1 a2 b3 c4 d想让查询结果为id-----valueM1aM2a,bM3a,cM4b,c希望大侠们帮帮忙出出主意 阅读全文
posted @ 2012-02-15 21:50
I是初学者
阅读(598)
评论(3)
推荐(0)
浙公网安备 33010602011771号