TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Davin Martyn
NA
7.5k
3m
Print Pyramid in sqlserver
May 10 2017 12:42 PM
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.
Reply
Answers (
5
)
How to use condition for row invisible and visible
why i am getting error?