Hi Team,
I want to print infinte number pyramid in sqlserver like
ab
abab
ababab
ababab
and after print i want to reverse like
ba
baba
bababa
babababa using CTE.
Please suggest how can do this.
My Second Question :
Hi Team,
I have one table and inside table two columns id , value
id value
1 a
1 b
1 c
1 d
2 a
2 b
I want to ouput like
id Value
1 a,b,c,d
2 a,b
please write query for above question.
Manas MohapatraPosted May 11, 2017, 12:56 AM
Davin MartynPosted May 12, 2017, 8:15 AM
Dharmraj ThakurPosted May 11, 2017, 2:44 AM
Davin MartynPosted May 11, 2017, 12:34 AM
i have no idea how to do this in sql. i am on learning stage
Suvendu Shekhar GiriPosted May 10, 2017, 10:45 PM